public class OrientablePrimitiveCoordinateSequence extends Object implements ICoordinateSequence, ICoordinateIterator
| Constructor and Description |
|---|
OrientablePrimitiveCoordinateSequence(OrientablePrimitive orientablePrimitive) |
| 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 |
hasNext()
Returns whether there are more coordinates in this sequence
|
ICoordinateIterator |
iterator()
Returns the iterator necessary to retrieve all the coordinates
that compose the geometry
|
void |
next(double[] buffer) |
public OrientablePrimitiveCoordinateSequence(OrientablePrimitive orientablePrimitive)
public boolean hasNext()
throws IOException
ICoordinateIteratorhasNext in interface ICoordinateIteratorIOExceptionpublic int getDimension()
ICoordinateIteratorICoordinateIterator.next(double[])getDimension in interface ICoordinateIteratorpublic void next(double[] buffer)
throws IOException
next in interface ICoordinateIteratorbuffer - where to store the parsed coordinates. The buffer lenght shall be >=
ICoordinateIterator.getDimension()IOExceptionpublic int getSize()
ICoordinateSequencegetSize in interface ICoordinateSequencepublic ICoordinateIterator iterator()
ICoordinateSequenceiterator in interface ICoordinateSequence