public class CoordinatesSequenceGeneralPath extends java.lang.Object implements ICoordinateSequence, ICoordinateIterator
| Constructor and Description |
|---|
CoordinatesSequenceGeneralPath(java.awt.geom.PathIterator it) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDimension()
Returns the dimension of the coordinate tuple being served.
|
int |
getSize()
Returns the size of the coordinates that the writer has to
write.
|
boolean |
hasMoreGeometries() |
boolean |
hasNext()
Returns whether there are more coordinates in this sequence
|
void |
initialize() |
ICoordinateIterator |
iterator()
Returns the iterator necessary to retrieve all the coordinates
that compose the geometry
|
void |
next(double[] buffer) |
public CoordinatesSequenceGeneralPath(java.awt.geom.PathIterator it)
public int getSize()
ICoordinateSequencegetSize in interface ICoordinateSequencepublic void initialize()
public boolean hasMoreGeometries()
public ICoordinateIterator iterator()
ICoordinateSequenceiterator in interface ICoordinateSequencepublic int getDimension()
ICoordinateIteratorICoordinateIterator.next(double[])getDimension in interface ICoordinateIteratorpublic boolean hasNext()
throws java.io.IOException
ICoordinateIteratorhasNext in interface ICoordinateIteratorjava.io.IOExceptionpublic void next(double[] buffer)
throws java.io.IOException
next in interface ICoordinateIteratorbuffer - where to store the parsed coordinates. The buffer lenght shall be >=
ICoordinateIterator.getDimension()java.io.IOException