#include <CoordinateSequenceFactory.h>
Inheritance diagram for geos::geom::CoordinateSequenceFactory:
Public Member Functions | |
virtual CoordinateSequence * | create (std::vector< Coordinate > *coordinates) const =0 |
Returns a CoordinateSequence based on the given array. | |
virtual CoordinateSequence * | create (size_t size, size_t dimension) const =0 |
Creates a CoordinateSequence of the specified size and dimension. |
Used to configure GeometryFactorys to provide specific kinds of CoordinateSequences.
|
Creates a CoordinateSequence of the specified size and dimension. For this to be useful, the CoordinateSequence implementation must be mutable.
Implemented in geos::geom::CoordinateArraySequenceFactory. |
|
Returns a CoordinateSequence based on the given array. Whether the array is copied or simply referenced is implementation-dependent. For this reason caller does give up ownership of it. Implementations that will not copy it will need take care of deleting it. This method must handle null arguments by creating an empty sequence.
Implemented in geos::geom::CoordinateArraySequenceFactory. |