MeshCore::MeshEigensystem Class Reference

The MeshEigensystem class actually does not try to check for or fix errors but it provides methods to calculate the mesh's local coordinate system with the center of gravity as origin. More...

#include <Evaluation.h>

Inheritance diagram for MeshCore::MeshEigensystem:
MeshCore::MeshEvaluation

List of all members.

Public Member Functions

bool Evaluate ()
 Evaluates the mesh kernel with respect to certain criteria.
Base::Vector3f GetBoundings () const
 Returns the expansions in u, v and w of the bounding box.
 MeshEigensystem (const MeshKernel &rclB)
Base::Matrix4D Transform () const
 Returns the transformation matrix.
virtual ~MeshEigensystem ()

Protected Member Functions

void CalculateLocalSystem ()
 Calculates the local coordinate system defined by u, v, w and c.

Detailed Description

The MeshEigensystem class actually does not try to check for or fix errors but it provides methods to calculate the mesh's local coordinate system with the center of gravity as origin.

The local coordinate system is computed this way that u has minimum and w has maximum expansion. The local coordinate system is right-handed.

Author:
Werner Mayer

Definition at line 328 of file Evaluation.h.


Constructor & Destructor Documentation

MeshEigensystem::MeshEigensystem ( const MeshKernel rclB  ) 
virtual MeshCore::MeshEigensystem::~MeshEigensystem (  )  [inline, virtual]

Definition at line 332 of file Evaluation.h.


Member Function Documentation

void MeshEigensystem::CalculateLocalSystem (  )  [protected]
bool MeshEigensystem::Evaluate (  )  [virtual]

Evaluates the mesh kernel with respect to certain criteria.

Must be reimplemented by every subclass. This pure virtual function returns false if the mesh kernel is invalid according to this criterion and true if the mesh kernel is correct.

Implements MeshCore::MeshEvaluation.

Definition at line 1013 of file Evaluation.cpp.

References MeshCore::MeshEvaluation::_rclMesh, CalculateLocalSystem(), MeshCore::MeshKernel::GetPoints(), Base::Vector3< _Precision >::Length(), and Base::Vector3< _Precision >::ProjToLine().

Referenced by import_NASTRAN(), best_fit::MeshFit_Coarse(), SMESH_PCA(), SpringbackCorrection::SmoothMesh(), and Mesh::MeshObject::transformToEigenSystem().

Base::Vector3f MeshEigensystem::GetBoundings (  )  const

Returns the expansions in u, v and w of the bounding box.

Definition at line 1071 of file Evaluation.cpp.

Base::Matrix4D MeshEigensystem::Transform (  )  const

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

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