StdMeshers_ProjectionUtils::TrsfFinder2D Class Reference
Finds transformation beween two sets of 2D points using a least square approximation. More...
#include <StdMeshers_ProjectionUtils.hxx>
Public Member Functions | |
bool | IsIdentity () const |
void | Set (const gp_GTrsf2d &t) |
bool | Solve (const std::vector< gp_XY > &srcPnts, const std::vector< gp_XY > &tgtPnts) |
Computes transformation beween two sets of 2D points using a least square approximation. More... | |
gp_XY | Transform (const gp_Pnt2d &srcUV) const |
Transforms a 2D points using a found transformation. More... | |
TrsfFinder2D () | |
Detailed Description
Finds transformation beween two sets of 2D points using a least square approximation.
Constructor & Destructor Documentation
◆ TrsfFinder2D()
StdMeshers_ProjectionUtils::TrsfFinder2D::TrsfFinder2D | ( | ) |
Member Function Documentation
◆ IsIdentity()
bool StdMeshers_ProjectionUtils::TrsfFinder2D::IsIdentity | ( | ) | const |
◆ Set()
void StdMeshers_ProjectionUtils::TrsfFinder2D::Set | ( | const gp_GTrsf2d & | t | ) |
◆ Solve()
bool StdMeshers_ProjectionUtils::TrsfFinder2D::Solve | ( | const std::vector< gp_XY > & | srcPnts, |
const std::vector< gp_XY > & | tgtPnts | ||
) |
Computes transformation beween two sets of 2D points using a least square approximation.
See "Surface Mesh Projection For Hexahedral Mesh Generation By Sweeping" by X.Roca, J.Sarrate, A.Huerta. (2.2)
◆ Transform()
gp_XY StdMeshers_ProjectionUtils::TrsfFinder2D::Transform | ( | const gp_Pnt2d & | srcUV | ) | const |
Transforms a 2D points using a found transformation.
The documentation for this class was generated from the following files:
- src/3rdParty/salomesmesh/inc/StdMeshers_ProjectionUtils.hxx
- src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_ProjectionUtils.cpp