Stores all facets of the mesh data-structure. More...
#include <Elements.h>
Inherits vector< MeshFacet >.
Public Types | |
typedef std::vector< MeshFacet > ::const_iterator | _TConstIterator |
typedef std::vector< MeshFacet > ::iterator | _TIterator |
Public Member Functions | |
void | DecrementIndices (unsigned long ulIndex) |
Decrements all point indices that are higher than ulIndex. | |
void | Erase (_TIterator pIter) |
Removes the facet from the array the iterator points to. | |
MeshFacetArray & | operator= (const MeshFacetArray &rclFAry) |
void | TransposeIndices (unsigned long ulOrig, unsigned long ulNew) |
Checks and flips the point indices if needed. | |
Construction | |
MeshFacetArray (unsigned long ulSize) | |
constructor | |
MeshFacetArray (void) | |
constructor | |
~MeshFacetArray (void) | |
destructor | |
Flag state | |
void | ResetFlag (MeshFacet::TFlagType tF) const |
Resets the flag for all facets. | |
void | ResetInvalid (void) const |
Sets all facets invalid. | |
void | SetFlag (MeshFacet::TFlagType tF) const |
Sets the flag for all facets. | |
void | SetProperty (unsigned long ulVal) const |
Sets the property for all facets. |
Stores all facets of the mesh data-structure.
Definition at line 533 of file Elements.h.
typedef std::vector<MeshFacet>::const_iterator MeshCore::MeshFacetArray::_TConstIterator |
Definition at line 538 of file Elements.h.
typedef std::vector<MeshFacet>::iterator MeshCore::MeshFacetArray::_TIterator |
Definition at line 537 of file Elements.h.
MeshCore::MeshFacetArray::MeshFacetArray | ( | void | ) | [inline] |
constructor
Definition at line 543 of file Elements.h.
MeshCore::MeshFacetArray::MeshFacetArray | ( | unsigned long | ulSize | ) | [inline] |
constructor
Definition at line 545 of file Elements.h.
MeshCore::MeshFacetArray::~MeshFacetArray | ( | void | ) | [inline] |
destructor
Definition at line 547 of file Elements.h.
void MeshFacetArray::DecrementIndices | ( | unsigned long | ulIndex | ) |
Decrements all point indices that are higher than ulIndex.
Definition at line 124 of file Elements.cpp.
References Sketcher::end.
void MeshFacetArray::Erase | ( | _TIterator | pIter | ) |
Removes the facet from the array the iterator points to.
All neighbour indices of the other facets get adjusted.
Definition at line 93 of file Elements.cpp.
References Sketcher::end.
Referenced by MeshCore::MeshKernel::DeleteFacet().
MeshFacetArray & MeshFacetArray::operator= | ( | const MeshFacetArray & | rclFAry | ) |
Definition at line 155 of file Elements.cpp.
void MeshFacetArray::ResetFlag | ( | MeshFacet::TFlagType | tF | ) | const |
Resets the flag for all facets.
Definition at line 140 of file Elements.cpp.
References Sketcher::end.
Referenced by MeshCore::MeshTopoAlgorithm::AdjustEdgesToCurvatureDirection(), MeshCore::MeshAlgorithm::CheckBorderFacets(), MeshCore::MeshTopoAlgorithm::DelaunayFlip(), MeshCore::MeshAlgorithm::ResetFacetFlag(), and MeshCore::MeshAlgorithm::ResetFacetsFlag().
void MeshFacetArray::ResetInvalid | ( | void | ) | const |
Sets all facets invalid.
Definition at line 150 of file Elements.cpp.
References Sketcher::end.
Referenced by MeshCore::MeshKernel::DeleteFacets(), and MeshCore::MeshFixDegeneratedFacets::RemoveEdgeTooSmall().
void MeshFacetArray::SetFlag | ( | MeshFacet::TFlagType | tF | ) | const |
Sets the flag for all facets.
Definition at line 135 of file Elements.cpp.
References Sketcher::end.
Referenced by SpringbackCorrection::FacetRegionGrowing(), MeshCore::MeshSearchNeighbours::NeighboursFacetFromFacet(), MeshCore::MeshSearchNeighbours::NeighboursFromFacet(), MeshCore::MeshSearchNeighbours::NeighboursFromSampledFacets(), SpringbackCorrection::Perform(), MeshCore::MeshAlgorithm::SetFacetFlag(), MeshCore::MeshAlgorithm::SetFacetsFlag(), Mesh::MeshObject::splitEdges(), MeshCore::MeshKernel::VisitNeighbourFacets(), and MeshCore::MeshKernel::VisitNeighbourFacetsOverCorners().
void MeshFacetArray::SetProperty | ( | unsigned long | ulVal | ) | const |
Sets the property for all facets.
Definition at line 145 of file Elements.cpp.
References Sketcher::end.
Referenced by MeshCore::MeshKernel::AddFacets(), SpringbackCorrection::InitFaceCheck(), and MeshCore::MeshAlgorithm::SetFacetsProperty().
void MeshFacetArray::TransposeIndices | ( | unsigned long | ulOrig, | |
unsigned long | ulNew | |||
) |
Checks and flips the point indices if needed.
Definition at line 113 of file Elements.cpp.
References Sketcher::end.