19 #ifndef GEOS_GEOM_COORDINATESEQUENCEFACTORY_H
20 #define GEOS_GEOM_COORDINATESEQUENCEFACTORY_H
23 #include <geos/export.h>
27 #include <geos/inline.h>
32 class CoordinateSequence;
72 std::vector<Coordinate> *coordinates,
73 std::size_t dimension=0 )
const=0;
86 std::size_t dimension=0)
const=0;
107 #endif // ndef GEOS_GEOM_COORDINATESEQUENCEFACTORY_H
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
A factory to create concrete instances of CoordinateSequences.
Definition: CoordinateSequenceFactory.h:47
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59
virtual CoordinateSequence * create() const =0
Returns an empty CoordinateSequence, the dimensions will be autodetected when it is populated.
virtual CoordinateSequence * create(const CoordinateSequence &coordSeq) const =0
Creates a CoordinateSequence which is a copy of the given one.
virtual CoordinateSequence * create(std::size_t size, std::size_t dimension=0) const =0
Creates a CoordinateSequence of the specified size and dimension.
virtual CoordinateSequence * create(std::vector< Coordinate > *coordinates, std::size_t dimension=0) const =0
Returns a CoordinateSequence based on the given array.