Class PolygonIterator
java.lang.Object
org.gvsig.fmap.geom.jts.primitive.surface.polygon.PolygonIterator
- All Implemented Interfaces:
PathIterator
- Author:
- fdiaz
-
Field Summary
Fields inherited from interface java.awt.geom.PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO -
Constructor Summary
ConstructorsConstructorDescriptionPolygonIterator(org.gvsig.fmap.geom.primitive.Polygon polygon, AffineTransform at) Creates a new PointIterator object. -
Method Summary
Modifier and TypeMethodDescriptionintcurrentSegment(double[] coords) intcurrentSegment(float[] coords) intbooleanisDone()voidnext()
-
Constructor Details
-
PolygonIterator
Creates a new PointIterator object.- Parameters:
polygon-at-
-
-
Method Details
-
getWindingRule
public int getWindingRule()- Specified by:
getWindingRulein interfacePathIterator
-
next
public void next()- Specified by:
nextin interfacePathIterator
-
isDone
public boolean isDone()- Specified by:
isDonein interfacePathIterator
-
currentSegment
public int currentSegment(double[] coords) - Specified by:
currentSegmentin interfacePathIterator
-
currentSegment
public int currentSegment(float[] coords) - Specified by:
currentSegmentin interfacePathIterator
-