MeshCore::MeshOrientationCollector Class Reference

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

#include <Evaluation.h>

Inheritance diagram for MeshCore::MeshOrientationCollector:
MeshCore::MeshOrientationVisitor MeshCore::MeshFacetVisitor

List of all members.

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.

Detailed Description

This class searches for inconsistent orientation of neighboured facets.

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

Author:
Werner Mayer

Definition at line 110 of file Evaluation.h.


Constructor & Destructor Documentation

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

Definition at line 69 of file Evaluation.cpp.


Member Function Documentation

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.


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

Generated on Wed Nov 23 19:02:25 2011 for FreeCAD by  doxygen 1.6.1