StdMeshers_ProjectionUtils::TrsfFinder3D Class Reference

Finds transformation between two sets of 3D points using a least square approximation. More...

#include <StdMeshers_ProjectionUtils.hxx>

Public Member Functions

bool Invert ()
 Inversion. More...
 
bool IsIdentity () const
 
void Set (const gp_GTrsf &t)
 
bool Solve (const std::vector< gp_XYZ > &srcPnts, const std::vector< gp_XYZ > &tgtPnts)
 Computes transformation between two sets of 3D points using a least square approximation. More...
 
gp_XYZ Transform (const gp_Pnt &srcP) const
 Transforms a 3D point using a found transformation. More...
 
gp_XYZ TransformVec (const gp_Vec &v) const
 Transforms a 3D vector using a found transformation. More...
 
 TrsfFinder3D ()
 

Detailed Description

Finds transformation between two sets of 3D points using a least square approximation.

Constructor & Destructor Documentation

◆ TrsfFinder3D()

StdMeshers_ProjectionUtils::TrsfFinder3D::TrsfFinder3D ( )

Member Function Documentation

◆ Invert()

bool StdMeshers_ProjectionUtils::TrsfFinder3D::Invert ( )

Inversion.

◆ IsIdentity()

bool StdMeshers_ProjectionUtils::TrsfFinder3D::IsIdentity ( ) const

◆ Set()

void StdMeshers_ProjectionUtils::TrsfFinder3D::Set ( const gp_GTrsf &  t)

◆ Solve()

bool StdMeshers_ProjectionUtils::TrsfFinder3D::Solve ( const std::vector< gp_XYZ > &  srcPnts,
const std::vector< gp_XYZ > &  tgtPnts 
)

Computes transformation between two sets of 3D points using a least square approximation.

See "Surface Mesh Projection For Hexahedral Mesh Generation By Sweeping" by X.Roca, J.Sarrate, A.Huerta. (2.4)

References draftgeoutils.general::vec().

◆ Transform()

gp_XYZ StdMeshers_ProjectionUtils::TrsfFinder3D::Transform ( const gp_Pnt &  srcP) const

Transforms a 3D point using a found transformation.

◆ TransformVec()

gp_XYZ StdMeshers_ProjectionUtils::TrsfFinder3D::TransformVec ( const gp_Vec &  v) const

Transforms a 3D vector using a found transformation.


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