Stores all data points of the mesh structure. More...
#include <Elements.h>
Public Member Functions | |
Construction | |
MeshPointArray () | |
MeshPointArray (PointIndex ulSize) | |
MeshPointArray (const MeshPointArray &) | |
copy-constructor More... | |
~MeshPointArray () | |
Flag state | |
| |
void | SetFlag (MeshPoint::TFlagType tF) const |
Sets the flag for all points. More... | |
void | ResetFlag (MeshPoint::TFlagType tF) const |
Resets the flag for all points. More... | |
void | ResetInvalid () const |
Sets all points invalid. More... | |
void | SetProperty (unsigned long ulVal) const |
Sets the property for all points. More... | |
MeshPointArray & | operator= (const MeshPointArray &rclPAry) |
void | Transform (const Base::Matrix4D &) |
PointIndex | Get (const MeshPoint &rclPoint) |
Searches for the first point index Two points are equal if the distance is less than EPSILON. More... | |
PointIndex | GetOrAddIndex (const MeshPoint &rclPoint) |
Searches for the first point index Two points are equal if the distance is less than EPSILON. More... | |
Stores all data points of the mesh structure.
MeshCore::MeshPointArray::MeshPointArray | ( | ) |
MeshCore::MeshPointArray::MeshPointArray | ( | PointIndex | ulSize | ) |
MeshPointArray::MeshPointArray | ( | const MeshPointArray & | ary | ) |
copy-constructor
MeshCore::MeshPointArray::~MeshPointArray | ( | ) |
PointIndex 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 POINT_INDEX_MAX is returned.
References DraftVecUtils::find(), and MeshCore::POINT_INDEX_MAX.
Referenced by GetOrAddIndex().
PointIndex 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.
References Get(), and MeshCore::POINT_INDEX_MAX.
MeshPointArray & MeshPointArray::operator= | ( | const MeshPointArray & | rclPAry | ) |
void MeshPointArray::ResetFlag | ( | MeshPoint::TFlagType | tF | ) | const |
Resets the flag for all points.
Referenced by MeshCore::MeshRemoveNeedles::Fixup().
void MeshPointArray::ResetInvalid | ( | ) | const |
Sets all points invalid.
Referenced by MeshCore::MeshRemoveNeedles::Fixup(), and MeshCore::MeshCleanup::RemoveInvalids().
void MeshPointArray::SetFlag | ( | MeshPoint::TFlagType | tF | ) | const |
Sets the flag for all points.
Referenced by MeshCore::MeshAlgorithm::GetFacetsBorders(), and MeshCore::MeshCleanup::RemoveInvalids().
void MeshPointArray::SetProperty | ( | unsigned long | ulVal | ) | const |
Sets the property for all points.
Referenced by MeshCore::MeshInput::LoadOBJ().
void MeshPointArray::Transform | ( | const Base::Matrix4D & | mat | ) |
References Base::Matrix4D::multVec().