fr.cnes.sitools.dataset.model.geometry
Class GeometryObject

java.lang.Object
  extended by fr.cnes.sitools.dataset.model.geometry.GeometryObject

public class GeometryObject
extends java.lang.Object

Object to store Geometry Object in predicats

Author:
m.gond

Constructor Summary
GeometryObject()
          Default constuctor
GeometryObject(GeometryType type)
          Create a new GeometryObject with empty points list and a type
GeometryObject(GeometryType type, java.util.List<Point> points)
          Create a new GeometryObject with type and list of points
GeometryObject(GeometryType type, java.util.List<Point> points, double radius)
          Create a new GeometryObject with type and list of points
 
Method Summary
 java.util.List<Point> getPoints()
          Gets the points value
 double getRadius()
          Gets the radius value
 GeometryType getType()
          Gets the type value
 void setPoints(java.util.List<Point> points)
          Sets the value of points
 void setRadius(double radius)
          Sets the value of radius
 void setType(GeometryType type)
          Sets the value of type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryObject

public GeometryObject()
Default constuctor


GeometryObject

public GeometryObject(GeometryType type)
Create a new GeometryObject with empty points list and a type

Parameters:
type - the type of the GeometryObject

GeometryObject

public GeometryObject(GeometryType type,
                      java.util.List<Point> points)
Create a new GeometryObject with type and list of points

Parameters:
type - the type of the GeometryObject
points - the List of Point

GeometryObject

public GeometryObject(GeometryType type,
                      java.util.List<Point> points,
                      double radius)
Create a new GeometryObject with type and list of points

Parameters:
type - the type of the GeometryObject
points - the List of Point
radius - the radius
Method Detail

getType

public GeometryType getType()
Gets the type value

Returns:
the type

setType

public void setType(GeometryType type)
Sets the value of type

Parameters:
type - the type to set

getPoints

public java.util.List<Point> getPoints()
Gets the points value

Returns:
the points

setPoints

public void setPoints(java.util.List<Point> points)
Sets the value of points

Parameters:
points - the points to set

getRadius

public double getRadius()
Gets the radius value

Returns:
the radius

setRadius

public void setRadius(double radius)
Sets the value of radius

Parameters:
radius - the radius to set


Copyright © 2010-2013 CNES. All Rights Reserved.