GEOS 3.11.1
|
Creates CoordinateSequences internally represented as an array of Coordinates. More...
#include <geos.h>
Public Member Functions | |
std::unique_ptr< CoordinateSequence > | create () const override |
Returns an empty CoordinateSequence, the dimensions will be autodetected when it is populated. More... | |
std::unique_ptr< CoordinateSequence > | create (std::vector< Coordinate > *coords, size_t dimension) const override |
std::unique_ptr< CoordinateSequence > | create (std::vector< Coordinate > &&coords, size_t dimension) const override |
std::unique_ptr< CoordinateSequence > | create (std::size_t size, std::size_t dimension) const override |
std::unique_ptr< CoordinateSequence > | create (const CoordinateSequence &seq) const override |
Creates a CoordinateSequence which is a copy of the given one. More... | |
Public Member Functions inherited from geos::geom::CoordinateSequenceFactory | |
virtual std::unique_ptr< CoordinateSequence > | create () const =0 |
Returns an empty CoordinateSequence, the dimensions will be autodetected when it is populated. More... | |
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. More... | |
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. More... | |
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. More... | |
virtual std::unique_ptr< CoordinateSequence > | create (const CoordinateSequence &coordSeq) const =0 |
Creates a CoordinateSequence which is a copy of the given one. More... | |
Static Public Member Functions | |
static const CoordinateSequenceFactory * | instance () |
Returns the singleton instance of CoordinateArraySequenceFactory. | |
Creates CoordinateSequences internally represented as an array of Coordinates.
|
overridevirtual |
Returns an empty CoordinateSequence, the dimensions will be autodetected when it is populated.
Implements geos::geom::CoordinateSequenceFactory.
|
inlineoverridevirtual |
Creates a CoordinateSequence which is a copy of the given one.
This method must handle null arguments by creating an empty sequence.
coordSeq | the coordinate sequence to copy |
Implements geos::geom::CoordinateSequenceFactory.
|
inlineoverridevirtual |
Implements geos::geom::CoordinateSequenceFactory.