FreeCAD C++
|
#include <Mod/Mesh/App/Core/Elements.h>
Stores all data points of the mesh structure.
Public Member Functions | |
unsigned long | Get (const MeshPoint &rclPoint) |
unsigned long | GetOrAddIndex (const MeshPoint &rclPoint) |
Construction | |
MeshPointArray (void) | |
MeshPointArray (unsigned long ulSize) | |
~MeshPointArray (void) | |
Flag state | |
| |
void | SetFlag (MeshPoint::TFlagType tF) const |
Sets the flag for all points. | |
void | ResetFlag (MeshPoint::TFlagType tF) const |
Resets the flag for all points. | |
void | ResetInvalid (void) const |
Sets all points invalid. | |
void | SetProperty (unsigned long ulVal) const |
Sets the property for all points. | |
unsigned long MeshCore::MeshPointArray::Get | ( | const MeshPoint & | rclPoint | ) |
Searches for the first point index Two points are equal if the distance is less than EPSILON. If no such points is found ULONG_MAX is returned.
unsigned long MeshCore::MeshPointArray::GetOrAddIndex | ( | const MeshPoint & | rclPoint | ) |
Searches for the first point index Two points are equal if the distance is less than EPSILON. If no such points is found the point is added to the array at end and its index is returned.