MeshCore::MeshEvalTopology Class Reference

The MeshEvalTopology class checks for topologic correctness, i.e that the mesh must not contain non-manifolds. More...

#include <Evaluation.h>

Inheritance diagram for MeshCore::MeshEvalTopology:
MeshCore::MeshEvaluation MeshCore::MeshEvalSingleFacet

List of all members.

Public Member Functions

unsigned long CountManifolds () const
virtual bool Evaluate ()
 Evaluates the mesh kernel with respect to certain criteria.
void GetFacetManifolds (std::vector< unsigned long > &raclFacetIndList) const
const std::list< std::vector
< unsigned long > > & 
GetFacets () const
const std::vector< std::pair
< unsigned long, unsigned long > > & 
GetIndices () const
 MeshEvalTopology (const MeshKernel &rclB)
virtual ~MeshEvalTopology ()

Protected Attributes

std::list< std::vector
< unsigned long > > 
nonManifoldFacets
std::vector< std::pair
< unsigned long, unsigned long > > 
nonManifoldList

Detailed Description

The MeshEvalTopology class checks for topologic correctness, i.e that the mesh must not contain non-manifolds.

E.g. an edge is regarded as non-manifold if it is shared by more than two facets.

Note:
This check does not necessarily cover any degenerations.

Definition at line 188 of file Evaluation.h.


Constructor & Destructor Documentation

MeshCore::MeshEvalTopology::MeshEvalTopology ( const MeshKernel rclB  )  [inline]

Definition at line 191 of file Evaluation.h.

virtual MeshCore::MeshEvalTopology::~MeshEvalTopology (  )  [inline, virtual]

Definition at line 192 of file Evaluation.h.


Member Function Documentation

unsigned long MeshEvalTopology::CountManifolds (  )  const
bool MeshEvalTopology::Evaluate (  )  [virtual]
void MeshEvalTopology::GetFacetManifolds ( std::vector< unsigned long > &  raclFacetIndList  )  const
const std::list<std::vector<unsigned long> >& MeshCore::MeshEvalTopology::GetFacets (  )  const [inline]

Definition at line 198 of file Evaluation.h.

Referenced by Mesh::MeshObject::removeNonManifolds().

const std::vector<std::pair<unsigned long, unsigned long> >& MeshCore::MeshEvalTopology::GetIndices (  )  const [inline]

Member Data Documentation

std::list<std::vector<unsigned long> > MeshCore::MeshEvalTopology::nonManifoldFacets [protected]

Definition at line 202 of file Evaluation.h.

Referenced by Evaluate().

std::vector<std::pair<unsigned long, unsigned long> > MeshCore::MeshEvalTopology::nonManifoldList [protected]

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

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