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. |
This class searches for inconsistent orientation of neighboured facets.
Note: The 'TMP0' flag for facets must be resetted before using this class.
Definition at line 110 of file Evaluation.h.
MeshOrientationCollector::MeshOrientationCollector | ( | std::vector< unsigned long > & | aulIndices, | |
std::vector< unsigned long > & | aulComplement | |||
) |
Definition at line 69 of file Evaluation.cpp.
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.
Definition at line 74 of file Evaluation.cpp.
References MeshCore::MeshFacet::HasSameOrientation(), MeshCore::MeshFacet::IsFlag(), MeshCore::MeshFacet::SetFlag(), and MeshCore::MeshFacet::TMP0.