The MeshRefNormalToPoints builds up a structure to have access to the normal of a vertex. More...
#include <Algorithm.h>
Public Member Functions | |
MeshRefNormalToPoints (const MeshKernel &rclM) | |
Construction. | |
const Base::Vector3f & | operator[] (unsigned long) const |
void | Rebuild (void) |
Rebuilds up data structure. | |
~MeshRefNormalToPoints (void) | |
Destruction. | |
Protected Attributes | |
std::vector< Base::Vector3f > | _norm |
const MeshKernel & | _rclMesh |
The mesh kernel. |
The MeshRefNormalToPoints builds up a structure to have access to the normal of a vertex.
Definition at line 445 of file Algorithm.h.
MeshCore::MeshRefNormalToPoints::MeshRefNormalToPoints | ( | const MeshKernel & | rclM | ) | [inline] |
Construction.
Definition at line 449 of file Algorithm.h.
MeshCore::MeshRefNormalToPoints::~MeshRefNormalToPoints | ( | void | ) | [inline] |
Destruction.
Definition at line 452 of file Algorithm.h.
const Base::Vector3f & MeshRefNormalToPoints::operator[] | ( | unsigned long | pos | ) | const |
Definition at line 1937 of file Algorithm.cpp.
References _norm.
void MeshRefNormalToPoints::Rebuild | ( | void | ) |
Rebuilds up data structure.
Definition at line 1911 of file Algorithm.cpp.
References _norm, _rclMesh, Base::DistanceP2(), MeshCore::MeshKernel::GetFacet(), MeshCore::MeshKernel::GetFacets(), MeshCore::MeshGeomFacet::GetNormal(), and MeshCore::MeshKernel::GetPoints().
std::vector<Base::Vector3f> MeshCore::MeshRefNormalToPoints::_norm [protected] |
Definition at line 461 of file Algorithm.h.
Referenced by operator[](), and Rebuild().
const MeshKernel& MeshCore::MeshRefNormalToPoints::_rclMesh [protected] |