22#include <geos/export.h>
29class CoordinateSequence;
51 virtual std::unique_ptr<CoordinateSequence>
create()
const = 0;
68 virtual std::unique_ptr<CoordinateSequence>
create(
69 std::vector<Coordinate>* coordinates,
70 std::size_t dimension = 0)
const = 0;
78 virtual std::unique_ptr<CoordinateSequence>
create(
79 std::vector<Coordinate> && coordinates,
80 std::size_t dimension = 0)
const = 0;
92 virtual std::unique_ptr<CoordinateSequence>
create(std::size_t size,
93 std::size_t dimension = 0)
const = 0;
A factory to create concrete instances of CoordinateSequences.
Definition: CoordinateSequenceFactory.h:44
virtual std::unique_ptr< CoordinateSequence > create(std::size_t size, std::size_t dimension=0) const =0
Creates a CoordinateSequence of the specified size and dimension.
virtual std::unique_ptr< CoordinateSequence > create(std::vector< Coordinate > *coordinates, std::size_t dimension=0) const =0
Returns a CoordinateSequence based on the given array.
virtual std::unique_ptr< CoordinateSequence > create(const CoordinateSequence &coordSeq) const =0
Creates a CoordinateSequence which is a copy of the given one.
virtual std::unique_ptr< CoordinateSequence > create(std::vector< Coordinate > &&coordinates, std::size_t dimension=0) const =0
Returns a CoordinateSequence based on the given array.
virtual std::unique_ptr< CoordinateSequence > create() const =0
Returns an empty CoordinateSequence, the dimensions will be autodetected when it is populated.
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:44
Basic namespace for all GEOS functionalities.
Definition: geos.h:39