MeshCore::MeshFacetArray Class Reference

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

#include <Elements.h>

Public Member Functions

Construction
 MeshFacetArray ()
 constructor More...
 
 MeshFacetArray (FacetIndex ulSize)
 constructor More...
 
 MeshFacetArray (const MeshFacetArray &)
 copy-constructor More...
 
 ~MeshFacetArray ()
 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 () 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 (PointIndex ulOrig, PointIndex ulNew)
 Checks and flips the point indices if needed. More...
 
void DecrementIndices (PointIndex 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/3]

MeshCore::MeshFacetArray::MeshFacetArray ( )

constructor

◆ MeshFacetArray() [2/3]

MeshCore::MeshFacetArray::MeshFacetArray ( FacetIndex  ulSize)

constructor

◆ MeshFacetArray() [3/3]

MeshFacetArray::MeshFacetArray ( const MeshFacetArray ary)

copy-constructor

◆ ~MeshFacetArray()

MeshCore::MeshFacetArray::~MeshFacetArray ( )

destructor

Member Function Documentation

◆ DecrementIndices()

void MeshFacetArray::DecrementIndices ( PointIndex  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.

References MeshCore::FACET_INDEX_MAX.

◆ operator=()

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

◆ ResetFlag()

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

◆ ResetInvalid()

void MeshFacetArray::ResetInvalid ( ) 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 ( PointIndex  ulOrig,
PointIndex  ulNew 
)

Checks and flips the point indices if needed.

See also
MeshFacet::Transpose().

The documentation for this class was generated from the following files: