MeshCore::MeshFacetArray Class Reference

Stores all facets of the mesh data-structure. More...

#include <Elements.h>

Public Member Functions

Construction
 MeshFacetArray (void)
 constructor More...
 
 MeshFacetArray (unsigned long ulSize)
 constructor More...
 
 ~MeshFacetArray (void)
 destructor More...
 
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. More...
 
void ResetFlag (MeshFacet::TFlagType tF) const
 Resets the flag for all facets. More...
 
void ResetInvalid (void) const
 Sets all facets invalid. More...
 
void SetProperty (unsigned long ulVal) const
 Sets the property for all facets. More...
 
MeshFacetArrayoperator= (const MeshFacetArray &rclFAry)
 
void Erase (_TIterator pIter)
 Removes the facet from the array the iterator points to. More...
 
void TransposeIndices (unsigned long ulOrig, unsigned long ulNew)
 Checks and flips the point indices if needed. More...
 
void DecrementIndices (unsigned long ulIndex)
 Decrements all point indices that are higher than ulIndex. More...
 

Detailed Description

Stores all facets of the mesh data-structure.

Constructor & Destructor Documentation

◆ MeshFacetArray() [1/2]

MeshCore::MeshFacetArray::MeshFacetArray ( void  )

constructor

◆ MeshFacetArray() [2/2]

MeshCore::MeshFacetArray::MeshFacetArray ( unsigned long  ulSize)

constructor

◆ ~MeshFacetArray()

MeshCore::MeshFacetArray::~MeshFacetArray ( void  )

destructor

Member Function Documentation

◆ DecrementIndices()

void MeshFacetArray::DecrementIndices ( unsigned long  ulIndex)

Decrements all point indices that are higher than ulIndex.

◆ Erase()

void MeshFacetArray::Erase ( _TIterator  pIter)

Removes the facet from the array the iterator points to.

All neighbour indices of the other facets get adjusted.

◆ operator=()

MeshFacetArray & MeshFacetArray::operator= ( const MeshFacetArray rclFAry)

◆ ResetFlag()

void MeshFacetArray::ResetFlag ( MeshFacet::TFlagType  tF) const

◆ ResetInvalid()

void MeshFacetArray::ResetInvalid ( void  ) const

Sets all facets invalid.

Referenced by MeshCore::MeshRemoveNeedles::Fixup().

◆ SetFlag()

void MeshFacetArray::SetFlag ( MeshFacet::TFlagType  tF) const

◆ SetProperty()

void MeshFacetArray::SetProperty ( unsigned long  ulVal) const

Sets the property for all facets.

◆ TransposeIndices()

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

Checks and flips the point indices if needed.

See also
MeshFacet::Transpose().

The documentation for this class was generated from the following files:
  • src/Mod/Mesh/App/Core/Elements.h
  • src/Mod/Mesh/App/Core/Elements.cpp