A mesh node with coordinates in 3D space.
Definition at line 38 of file Node.h.
|
| Node (const double coords[3], std::size_t id=std::numeric_limits< std::size_t >::max()) |
| Constructor using a coordinate array.
|
|
| Node (std::array< double, 3 > const &coords, std::size_t id=std::numeric_limits< std::size_t >::max()) |
| Constructor using a coordinate array.
|
|
| Node (double x, double y, double z, std::size_t id=std::numeric_limits< std::size_t >::max()) |
| Constructor using single coordinates.
|
|
| Node (const Node &node) |
| Copy constructor.
|
|
| Point3dWithID (double x0, double x1, double x2, std::size_t id=std::numeric_limits< std::size_t >::max()) |
|
| Point3dWithID (std::array< double, 3 > const &coords, std::size_t id=std::numeric_limits< std::size_t >::max()) |
|
| Point3dWithID (MathLib::Point3d const &pnt, std::size_t id=std::numeric_limits< std::size_t >::max()) |
|
| Point3dWithID () |
|
std::size_t | getID () const |
|
| Point3d () |
|
| Point3d (std::array< double, 3 > x) |
|
virtual | ~Point3d ()=default |
|
| Point3d (Point3d const &)=default |
|
Point3d & | operator= (Point3d const &)=default |
|
const double & | operator[] (std::size_t idx) const |
| const access operator The access to the point coordinates is like the access to a field. Code example:
|
|
double & | operator[] (std::size_t idx) |
| access operator (see book Effektiv C++ programmieren - subsection 1.3.2 ).
|
|
const double * | data () const |
|
double * | data () |
|
Eigen::Vector3d const & | asEigenVector3d () const |
|
Eigen::Vector3d & | asEigenVector3d () |
|