|
LuciadCPillar 2025.0.07
|
A "POD" for a 3D coordinate. More...
#include <luciad/cartesian/Coordinate.h>
Public Member Functions | |
| constexpr | Coordinate () |
Constructs a coordinate with default values for x, y, and z using 0. More... | |
| constexpr | Coordinate (double x, double y, double z=0.0) |
Constructs a coordinate with the provide values for x, y, and z. More... | |
| size_t | getHash () const |
| Returns the hash for this coordinate. More... | |
| constexpr bool | operator!= (const Coordinate &other) const |
| constexpr Coordinate | operator* (const Coordinate &other) const |
| constexpr Coordinate | operator* (double factor) const |
| constexpr Coordinate & | operator*= (const Coordinate &other) |
| constexpr Coordinate & | operator*= (double factor) |
| constexpr Coordinate | operator+ (const Coordinate &other) const |
| constexpr Coordinate & | operator+= (const Coordinate &other) |
| constexpr Coordinate | operator- (const Coordinate &other) const |
| constexpr Coordinate & | operator-= (const Coordinate &other) |
| constexpr Coordinate | operator/ (const Coordinate &other) const |
| constexpr Coordinate | operator/ (double factor) const |
| constexpr Coordinate & | operator/= (double factor) |
| constexpr bool | operator== (const Coordinate &other) const |
| double & | operator[] (size_t i) |
| const double & | operator[] (size_t i) const |
Public Attributes | |
| double | x |
| The x value of the coordinate. More... | |
| double | y |
| The y value of the coordinate. More... | |
| double | z |
| The z value of the coordinate. More... | |
A "POD" for a 3D coordinate.
Not a geometry, to be used as primitive in geometries.
|
inlineconstexpr |
Constructs a coordinate with default values for x, y, and z using 0.
|
inlineconstexpr |
Constructs a coordinate with the provide values for x, y, and z.
| x | the x value of the coordinate. |
| y | the y value of the coordinate. |
| z | the z value of the coordinate. |
| size_t luciad::Coordinate::getHash | ( | ) | const |
Returns the hash for this coordinate.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inline |
| double luciad::Coordinate::x |
The x value of the coordinate.
| double luciad::Coordinate::y |
The y value of the coordinate.
| double luciad::Coordinate::z |
The z value of the coordinate.