Stores all data points of the mesh structure. More...
#include <Elements.h>
Inherits vector< MeshPoint >.
Public Types | |
typedef std::vector< MeshPoint > ::const_iterator | _TConstIterator |
typedef std::vector< MeshPoint > ::iterator | _TIterator |
Public Member Functions | |
unsigned long | Get (const MeshPoint &rclPoint) |
Searches for the first point index Two points are equal if the distance is less than EPSILON. | |
unsigned long | GetOrAddIndex (const MeshPoint &rclPoint) |
Searches for the first point index Two points are equal if the distance is less than EPSILON. | |
MeshPointArray & | operator= (const MeshPointArray &rclPAry) |
Construction | |
MeshPointArray (unsigned long ulSize) | |
MeshPointArray (void) | |
~MeshPointArray (void) | |
Flag state | |
void | ResetFlag (MeshPoint::TFlagType tF) const |
Resets the flag for all points. | |
void | ResetInvalid (void) const |
Sets all points invalid. | |
void | SetFlag (MeshPoint::TFlagType tF) const |
Sets the flag for all points. | |
void | SetProperty (unsigned long ulVal) const |
Sets the property for all points. |
Stores all data points of the mesh structure.
Definition at line 482 of file Elements.h.
typedef std::vector<MeshPoint>::const_iterator MeshCore::MeshPointArray::_TConstIterator |
Definition at line 487 of file Elements.h.
typedef std::vector<MeshPoint>::iterator MeshCore::MeshPointArray::_TIterator |
Definition at line 486 of file Elements.h.
MeshCore::MeshPointArray::MeshPointArray | ( | void | ) | [inline] |
Definition at line 492 of file Elements.h.
MeshCore::MeshPointArray::MeshPointArray | ( | unsigned long | ulSize | ) | [inline] |
Definition at line 494 of file Elements.h.
MeshCore::MeshPointArray::~MeshPointArray | ( | void | ) | [inline] |
Definition at line 496 of file Elements.h.
unsigned long 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.
Definition at line 41 of file Elements.cpp.
References Sketcher::end, and draftlibs::fcvec::find().
Referenced by GetOrAddIndex().
unsigned long 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.
Definition at line 52 of file Elements.cpp.
References Get().
Referenced by MeshCore::MeshKernel::AddFacet().
MeshPointArray & MeshPointArray::operator= | ( | const MeshPointArray & | rclPAry | ) |
Definition at line 85 of file Elements.cpp.
void MeshPointArray::ResetFlag | ( | MeshPoint::TFlagType | tF | ) | const |
Resets the flag for all points.
Definition at line 70 of file Elements.cpp.
References Sketcher::end.
Referenced by MeshCore::MeshFixDegeneratedFacets::RemoveEdgeTooSmall(), MeshCore::MeshAlgorithm::ResetPointFlag(), and MeshCore::MeshAlgorithm::ResetPointsFlag().
void MeshPointArray::ResetInvalid | ( | void | ) | const |
Sets all points invalid.
Definition at line 80 of file Elements.cpp.
References Sketcher::end.
Referenced by MeshCore::MeshKernel::AddFacets(), MeshCore::MeshKernel::DeleteFacets(), MeshCore::MeshKernel::DeletePoints(), and MeshCore::MeshFixDegeneratedFacets::RemoveEdgeTooSmall().
void MeshPointArray::SetFlag | ( | MeshPoint::TFlagType | tF | ) | const |
Sets the flag for all points.
Definition at line 65 of file Elements.cpp.
References Sketcher::end.
Referenced by MeshCore::MeshKernel::AddFacets(), MeshCore::MeshSearchNeighbours::CheckDistToFacet(), MeshCore::MeshFixDegeneratedFacets::RemoveEdgeTooSmall(), MeshCore::MeshAlgorithm::SetPointFlag(), and MeshCore::MeshAlgorithm::SetPointsFlag().
void MeshPointArray::SetProperty | ( | unsigned long | ulVal | ) | const |
Sets the property for all points.
Definition at line 75 of file Elements.cpp.
References Sketcher::end.
Referenced by MeshCore::MeshKernel::DeleteFacets(), MeshCore::MeshKernel::DeletePoints(), and SpringbackCorrection::GetBoundary().