|
GEOS 3.15.0dev
|
Functions | |
| template<typename T = Coordinate> | |
| const T & | geos::geom::CoordinateSequence::getAt (std::size_t i) const |
| Returns a read-only reference to Coordinate at position i. | |
| template<typename T = Coordinate> | |
| T & | geos::geom::CoordinateSequence::getAt (std::size_t i) |
| Returns a reference to Coordinate at position i. | |
| template<typename T > | |
| void | geos::geom::CoordinateSequence::getAt (std::size_t i, T &c) const |
| Write Coordinate at position i to given Coordinate. | |
| void | geos::geom::CoordinateSequence::getAt (std::size_t i, CoordinateXY &c) const |
| const Coordinate & | geos::geom::CoordinateSequence::operator[] (std::size_t i) const |
| Coordinate & | geos::geom::CoordinateSequence::operator[] (std::size_t i) |
| double | geos::geom::CoordinateSequence::getOrdinate (std::size_t index, std::size_t ordinateIndex) const |
| double | geos::geom::CoordinateSequence::getX (std::size_t index) const |
| double | geos::geom::CoordinateSequence::getY (std::size_t index) const |
| double | geos::geom::CoordinateSequence::getZ (std::size_t index) const |
| double | geos::geom::CoordinateSequence::getM (std::size_t index) const |
| void | geos::geom::CoordinateSequence::setX (std::size_t index, double x) |
| void | geos::geom::CoordinateSequence::setY (std::size_t index, double y) |
| void | geos::geom::CoordinateSequence::setZ (std::size_t index, double z) |
| void | geos::geom::CoordinateSequence::setM (std::size_t index, double m) |
| template<typename T = Coordinate> | |
| const T & | geos::geom::CoordinateSequence::back () const |
| Return last Coordinate in the sequence. | |
| template<typename T = Coordinate> | |
| T & | geos::geom::CoordinateSequence::back () |
| Return last Coordinate in the sequence. | |
| template<typename T = Coordinate> | |
| const T & | geos::geom::CoordinateSequence::front () const |
| Return first Coordinate in the sequence. | |
| template<typename T = Coordinate> | |
| T & | geos::geom::CoordinateSequence::front () |
| Return first Coordinate in the sequence. | |
| void | geos::geom::CoordinateSequence::toVector (std::vector< Coordinate > &coords) const |
| Pushes all Coordinates of this sequence into the provided vector. | |
| void | geos::geom::CoordinateSequence::toVector (std::vector< CoordinateXY > &coords) const |
|
inline |
Returns ordinate M of the specified coordinate.
| index |
| double geos::geom::CoordinateSequence::getOrdinate | ( | std::size_t | index, |
| std::size_t | ordinateIndex | ||
| ) | const |
Returns the ordinate of a coordinate in this sequence. Ordinate indices 0 and 1 are assumed to be X and Y. Ordinates indices greater than 1 have user-defined semantics (for instance, they may contain other dimensions or measure values).
| index | the coordinate index in the sequence |
| ordinateIndex | the ordinate index in the coordinate (in range [0, dimension-1]) |
|
inline |
Returns ordinate X (0) of the specified coordinate.
| index |
|
inline |
Returns ordinate Y (1) of the specified coordinate.
| index |
|
inline |
Returns ordinate Z of the specified coordinate.
| index |
|
inline |
Returns a reference to Coordinate at i
|
inline |
Returns a read-only reference to Coordinate at i
|
inline |
Set the M value of the specified coordinate.
Has no effect if the CoordinateSequence does not store M values.
| index | |
| m | the new M value |
|
inline |
Set the X value of the specified coordinate.
| index | |
| x | the new X value |
|
inline |
Set the Y value of the specified coordinate.
| index | |
| y | the new Y value |
|
inline |
Set the Z value of the specified coordinate.
Has no effect if the CoordinateSequence does not store Z values.
| index | |
| z | the new Z value |