MeshCore::MeshFacetModifier Class Reference

MeshFacetModifier is a helper class that allows to modify the facet array of a mesh kernel but with limited access. More...

#include <Elements.h>

Public Member Functions

 MeshFacetModifier (const MeshFacetModifier &c)
 
 MeshFacetModifier (MeshFacetArray &facets)
 
void Transpose (unsigned long pos, unsigned long old, unsigned long now)
 Replaces the index of the corner point of the facet at position pos that is equal to old by now. More...
 

Detailed Description

MeshFacetModifier is a helper class that allows to modify the facet array of a mesh kernel but with limited access.

Constructor & Destructor Documentation

◆ MeshFacetModifier() [1/2]

MeshCore::MeshFacetModifier::MeshFacetModifier ( MeshFacetArray facets)

◆ MeshFacetModifier() [2/2]

MeshCore::MeshFacetModifier::MeshFacetModifier ( const MeshFacetModifier c)

Member Function Documentation

◆ Transpose()

void MeshCore::MeshFacetModifier::Transpose ( unsigned long  pos,
unsigned long  old,
unsigned long  now 
)

Replaces the index of the corner point of the facet at position pos that is equal to old by now.

If the facet does not have a corner point with this index nothing happens.


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