15 #ifndef GEOS_GEOM_COORDINATEARRAYSEQUENCEFACTORY_H
16 #define GEOS_GEOM_COORDINATEARRAYSEQUENCEFACTORY_H
19 #include <geos/export.h>
22 #include <geos/geom/CoordinateSequenceFactory.h>
24 #include <geos/inline.h>
68 # include "geos/geom/CoordinateArraySequenceFactory.inl"
71 #endif // ndef GEOS_GEOM_COORDINATEARRAYSEQUENCEFACTORY_H
CoordinateSequence * create(std::size_t size, std::size_t dimension=0) const override
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
CoordinateSequence * create(const CoordinateSequence &coordSeq) const override
Creates a CoordinateSequence which is a copy of the given one.
CoordinateArraySequenceFactory DefaultCoordinateSequenceFactory
This is for backward API compatibility.
Definition: CoordinateArraySequenceFactory.h:62
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
Creates CoordinateSequences internally represented as an array of Coordinates.
Definition: CoordinateArraySequenceFactory.h:43
CoordinateSequence * create(std::vector< Coordinate > *coords, std::size_t dims=0) const override
Returns a CoordinateSequence based on the given array.
CoordinateSequence * create() const override
Returns an empty CoordinateSequence, the dimensions will be autodetected when it is populated.
static const CoordinateSequenceFactory * instance()
Returns the singleton instance of CoordinateArraySequenceFactory.