FreeCAD C++
Public Member Functions | List of all members
MeshCore::MeshFacetArray Class Reference

#include <Mod/Mesh/App/Core/Elements.h>

Detailed Description

Stores all facets of the mesh data-structure.

Public Member Functions

void Erase (_TIterator pIter)
 
void TransposeIndices (unsigned long ulOrig, unsigned long ulNew)
 
void DecrementIndices (unsigned long ulIndex)
 
Construction
 MeshFacetArray (void)
 constructor
 
 MeshFacetArray (unsigned long ulSize)
 constructor
 
 ~MeshFacetArray (void)
 destructor
 
Flag state
Note
All flag methods are const as they do NOT change the actual properties of the object
void SetFlag (MeshFacet::TFlagType tF) const
 Sets the flag for all facets.
 
void ResetFlag (MeshFacet::TFlagType tF) const
 Resets the flag for all facets.
 
void ResetInvalid (void) const
 Sets all facets invalid.
 
void SetProperty (unsigned long ulVal) const
 Sets the property for all facets.
 

Member Function Documentation

◆ DecrementIndices()

void MeshCore::MeshFacetArray::DecrementIndices ( unsigned long  ulIndex)

Decrements all point indices that are higher than ulIndex.

◆ Erase()

void MeshCore::MeshFacetArray::Erase ( _TIterator  pIter)

Removes the facet from the array the iterator points to. All neighbour indices of the other facets get adjusted.

◆ TransposeIndices()

void MeshCore::MeshFacetArray::TransposeIndices ( unsigned long  ulOrig,
unsigned long  ulNew 
)

Checks and flips the point indices if needed.

See also
MeshFacet::Transpose().