MeshCore::MeshOrientationCollector Class Reference

This class searches for inconsistent orientation of neighboured facets. More...

#include <Evaluation.h>

Public Member Functions

 MeshOrientationCollector (std::vector< unsigned long > &aulIndices, std::vector< unsigned long > &aulComplement)
 
bool Visit (const MeshFacet &, const MeshFacet &, unsigned long, unsigned long)
 Returns always true and collects the indices with wrong orientation. More...
 
- Public Member Functions inherited from MeshCore::MeshOrientationVisitor
bool HasNonUnifomOrientedFacets () const
 
 MeshOrientationVisitor ()
 
- Public Member Functions inherited from MeshCore::MeshFacetVisitor
virtual bool AllowVisit (const MeshFacet &rclFacet, const MeshFacet &rclFrom, unsigned long ulFInd, unsigned long ulLevel, unsigned short neighbourIndex)
 Test before a facet will be flagged as VISIT, return false means: go on with visiting the facets but not this one and set not the VISIT flag. More...
 
 MeshFacetVisitor (void)
 Construction. More...
 
virtual ~MeshFacetVisitor (void)
 Denstruction. More...
 

Detailed Description

This class searches for inconsistent orientation of neighboured facets.

Note: The 'TMP0' flag for facets must be reset before using this class.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ MeshOrientationCollector()

MeshOrientationCollector::MeshOrientationCollector ( std::vector< unsigned long > &  aulIndices,
std::vector< unsigned long > &  aulComplement 
)

Member Function Documentation

◆ Visit()

bool MeshOrientationCollector::Visit ( const MeshFacet rclFacet,
const MeshFacet rclFrom,
unsigned long  ulFInd,
unsigned long  ulLevel 
)
virtual

Returns always true and collects the indices with wrong orientation.

Reimplemented from MeshCore::MeshOrientationVisitor.

References MeshCore::MeshFacet::HasSameOrientation(), MeshCore::MeshFacet::IsFlag(), MeshCore::MeshFacet::SetFlag(), and MeshCore::MeshFacet::TMP0.


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