|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface used by all algorithms to abstractly access polygons.
Method Summary | |
PointI |
getPoint(int index)
Returns the point at 'index' from the polygon. |
java.util.Enumeration |
holes()
Returns an enumeration on the holes of the polygon. |
double |
length()
Returns the length of the border of the polygon including the borders of all holes. |
int |
sizeOfHoles()
Returns the number of holes in the polygon. |
int |
sizeOfVertices()
Returns the number of vertices in the polygon. |
java.util.Enumeration |
vertices()
Returns an enumeration on the vertices of the polygon. |
Methods inherited from interface drasys.or.geom.GeomI |
coordinateSystem,
getCentroid,
getDistanceProxyTo,
getDistanceTo,
getNearestPointTo,
getRange |
Method Detail |
public PointI getPoint(int index)
public int sizeOfVertices()
public java.util.Enumeration vertices()
public int sizeOfHoles()
public java.util.Enumeration holes()
public double length()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |