GEOS 3.14.0dev
|
geos::geom::CoordinateSequence::CoordinateSequence | ( | ) |
Create an CoordinateSequence capable of storing XY or XYZ coordinates.
geos::geom::CoordinateSequence::CoordinateSequence | ( | const std::initializer_list< Coordinate > & | ) |
Create a CoordinateSequence from a list of XYZ coordinates. Code using the sequence may only access references to CoordinateXY or Coordinate objects.
geos::geom::CoordinateSequence::CoordinateSequence | ( | const std::initializer_list< CoordinateXY > & | ) |
Create a CoordinateSequence from a list of XY coordinates. Code using the sequence may only access references to CoordinateXY objects.
geos::geom::CoordinateSequence::CoordinateSequence | ( | const std::initializer_list< CoordinateXYM > & | ) |
Create a CoordinateSequence from a list of XYM coordinates. Code using the sequence may only access references to CoordinateXY or CoordinateXYM objects.
geos::geom::CoordinateSequence::CoordinateSequence | ( | const std::initializer_list< CoordinateXYZM > & | ) |
Create a CoordinateSequence from a list of XYZM coordinates.
geos::geom::CoordinateSequence::CoordinateSequence | ( | std::size_t | size, |
bool | hasz, | ||
bool | hasm, | ||
bool | initialize = true |
||
) |
Create a CoordinateSequence that packs coordinates of any dimension. Code using a CoordinateSequence constructed in this way must not attempt to access references to coordinates with dimensions that are not actually stored in the sequence.
size | size of the sequence to create |
hasz | true if the stored |
hasm | |
initialize |
geos::geom::CoordinateSequence::CoordinateSequence | ( | std::size_t | size, |
std::size_t | dim = 0 |
||
) |
Create a CoordinateSequence capable of storing XY, XYZ or XYZM coordinates.
size | size of the sequence to create. |
dim | 2 for 2D, 3 for XYZ, 4 for XYZM, or 0 to determine this based on the first coordinate in the sequence |
|
inline |
Copy constructor, needed because mutex is not copyable
|
inline |
Constructs a tree with the given maximum number of child nodes that a node may have, with the expected total number of items in the tree used to pre-allocate storage.
|
inlineexplicit |
Constructs a tree with the given maximum number of child nodes that a node may have.
|
inlinestatic |
Create a CoordinateSequence storing XY values only.
size | size of the sequence to create |
|
inlinestatic |
Create a CoordinateSequence storing XYM values only.
size | size of the sequence to create |
|
inlinestatic |
Create a CoordinateSequence storing XYZ values only.
size | size of the sequence to create |
|
inlinestatic |
Create a CoordinateSequence storing XYZM values only.
size | size of the sequence to create |