18#include <geos/export.h>
19#include <geos/geom/CoordinateArraySequence.h>
20#include <geos/geom/CoordinateSequenceFactory.h>
45 std::unique_ptr<CoordinateSequence>
create()
const override;
47 std::unique_ptr<CoordinateSequence> create(
48 std::vector<Coordinate>* coords,
49 size_t dimension)
const override
51 return std::unique_ptr<CoordinateSequence>(
55 std::unique_ptr<CoordinateSequence> create(
56 std::vector<Coordinate> && coords,
57 size_t dimension)
const override
63 std::unique_ptr<CoordinateSequence>
create(std::size_t size, std::size_t dimension)
const override
65 return std::unique_ptr<CoordinateSequence>(
71 return std::unique_ptr<CoordinateSequence>(
Creates CoordinateSequences internally represented as an array of Coordinates.
Definition: CoordinateArraySequenceFactory.h:42
std::unique_ptr< CoordinateSequence > create(const CoordinateSequence &seq) const override
Creates a CoordinateSequence which is a copy of the given one.
Definition: CoordinateArraySequenceFactory.h:69
static const CoordinateSequenceFactory * instance()
Returns the singleton instance of CoordinateArraySequenceFactory.
std::unique_ptr< CoordinateSequence > create() const override
Returns an empty CoordinateSequence, the dimensions will be autodetected when it is populated.
std::unique_ptr< CoordinateSequence > create(std::size_t size, std::size_t dimension) const override
Definition: CoordinateArraySequenceFactory.h:63
The default implementation of CoordinateSequence.
Definition: CoordinateArraySequence.h:35
A factory to create concrete instances of CoordinateSequences.
Definition: CoordinateSequenceFactory.h:44
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:44
CoordinateArraySequenceFactory DefaultCoordinateSequenceFactory
This is for backward API compatibility.
Definition: CoordinateArraySequenceFactory.h:82
Basic namespace for all GEOS functionalities.
Definition: geos.h:39