The 3D coordinate class.
More...
#include <3d.h>
The 3D coordinate class.
Definition at line 225 of file 3d.h.
◆ OCoord3D() [1/3]
Default constructor.
Definition at line 29 of file 3d.cpp.
◆ OCoord3D() [2/3]
| OCoord3D::OCoord3D |
( |
const OCoord3D & |
coord | ) |
|
Copy constructor.
Definition at line 33 of file 3d.cpp.
◆ OCoord3D() [3/3]
| OCoord3D::OCoord3D |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
Constructor with 3D point coordinates.
Definition at line 31 of file 3d.cpp.
◆ ~OCoord3D()
Destructor.
Definition at line 38 of file 3d.cpp.
◆ getCoords() [1/2]
| double * OCoord3D::getCoords |
( |
| ) |
|
Gets the coordinates as an array of double.
Definition at line 97 of file 3d.cpp.
◆ getCoords() [2/2]
| void OCoord3D::getCoords |
( |
double |
coords[3] | ) |
|
Gets the coordinates as an array of double.
Definition at line 90 of file 3d.cpp.
◆ operator const double *()
| OCoord3D::operator const double * |
( |
| ) |
const |
|
inline |
cast operator to get coordinates via a table.
Definition at line 265 of file 3d.h.
◆ operator double *()
| OCoord3D::operator double * |
( |
| ) |
|
|
inline |
cast operator to get coordinates via a table.
Definition at line 272 of file 3d.h.
◆ operator!=()
| bool OCoord3D::operator!= |
( |
const OCoord3D & |
coord | ) |
const |
operator!=
Definition at line 71 of file 3d.cpp.
◆ operator=()
operator=
Definition at line 40 of file 3d.cpp.
◆ operator==()
| bool OCoord3D::operator== |
( |
const OCoord3D & |
coord | ) |
const |
operator==
Definition at line 51 of file 3d.cpp.
◆ setCoords() [1/2]
| void OCoord3D::setCoords |
( |
double |
coords[3] | ) |
|
Sets the coordinates as an array of double.
Definition at line 83 of file 3d.cpp.
◆ setCoords() [2/2]
| void OCoord3D::setCoords |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
Sets the coordinates as an array of double.
Definition at line 76 of file 3d.cpp.
◆ _value
| double OCoord3D::_value[3] |
Definition at line 286 of file 3d.h.
◆ _x
◆ _y
◆ _z
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/models/common/3d.h
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/models/common/3d.cpp