public class PointCoordinatesSequence extends java.lang.Object implements ICoordinateSequence, ICoordinateIterator
| Constructor and Description |
|---|
PointCoordinatesSequence(Point point) |
| 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 PointCoordinatesSequence(Point point)
public int getSize()
ICoordinateSequencegetSize in interface ICoordinateSequencepublic ICoordinateIterator iterator()
ICoordinateSequenceiterator in interface ICoordinateSequencepublic boolean hasNext()
throws java.io.IOException
ICoordinateIteratorhasNext in interface ICoordinateIteratorjava.io.IOExceptionpublic int getDimension()
ICoordinateIteratorICoordinateIterator.next(double[])getDimension in interface ICoordinateIteratorpublic 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