|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface used by all algorithms to abstractly geometric objects.
Method Summary | |
CoordinateSystemI |
coordinateSystem()
Returns the coordinate system used by the polygon |
PointI |
getCentroid()
Returns a PointI describing the centroid of the object |
double |
getDistanceProxyTo(PointI point)
Returns an easily computable proxy that can be used to compare the distance to a point. |
double |
getDistanceTo(PointI point)
Returns the distance to a point. |
PointI |
getNearestPointTo(PointI point)
Returns a PointI describing the point on the boundary closest to 'point'. |
RangeI |
getRange()
Returns a RangeI describing the extent of the object. |
Method Detail |
public CoordinateSystemI coordinateSystem()
public double getDistanceTo(PointI point)
public double getDistanceProxyTo(PointI point)
public RangeI getRange()
public PointI getCentroid()
public PointI getNearestPointTo(PointI point)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |