#include <CTiglPointTranslator.h>
Data Structures | |
| class | SegmentProjection |
Public Member Functions | |
| TIGL_EXPORT | CTiglPointTranslator () |
| TIGL_EXPORT | CTiglPointTranslator (const CTiglPoint &xfl, const CTiglPoint &xfr, const CTiglPoint &xbl, const CTiglPoint &xbr) |
| The class is initialized with the corners of a quadriangle. | |
| TIGL_EXPORT TiglReturnCode | getNormal (double eta, double xsi, CTiglPoint *n) const |
| TIGL_EXPORT TiglReturnCode | project (const CTiglPoint &p, CTiglPoint *pOnSurf) |
| Projects the point p onto the plane and returns that point pOnSurf. The function is not reentrant. If you want to parallelize it, use multiple instances of CTiglPointTranslator. | |
| TIGL_EXPORT void | setQuadriangle (const CTiglPoint &xfl, const CTiglPoint &xfr, const CTiglPoint &xbl, const CTiglPoint &xbr) |
| Defines the quadriangle by the given for spatial points. | |
| TIGL_EXPORT TiglReturnCode | translate (const CTiglPoint &p, double *eta, double *xsi) const |
| Finds an eta-xsi coordinate that minimizes the distance to point p. The function is not reentrant. If you want to parallelize it, use multiple instances of CTiglPointTranslator. | |
| TIGL_EXPORT TiglReturnCode | translate (double eta, double xsi, CTiglPoint *p) const |
| Converts from eta-xsi to spatial coordinates. Reentrant. | |
Private Member Functions | |
| void | calcPoint (double eta, double xsi, CTiglPoint &p) const |
Private Attributes | |
| CTiglPoint | a |
| CTiglPoint | b |
| CTiglPoint | c |
| CTiglPoint | d |
| bool | initialized |
| TIGL_EXPORT tigl::CTiglPointTranslator::CTiglPointTranslator | ( | ) |
| TIGL_EXPORT tigl::CTiglPointTranslator::CTiglPointTranslator | ( | const CTiglPoint & | xfl, |
| const CTiglPoint & | xfr, | ||
| const CTiglPoint & | xbl, | ||
| const CTiglPoint & | xbr ) |
The class is initialized with the corners of a quadriangle.
| xfl | (in) Coordinate of front left point |
| xfr | (in) Coordinate of front right point |
| xbl | (in) Coordinate of back left point |
| xbr | (in) Coordinate of back right point |
|
private |
| TIGL_EXPORT TiglReturnCode tigl::CTiglPointTranslator::getNormal | ( | double | eta, |
| double | xsi, | ||
| CTiglPoint * | n ) const |
| TIGL_EXPORT TiglReturnCode tigl::CTiglPointTranslator::project | ( | const CTiglPoint & | p, |
| CTiglPoint * | pOnSurf ) |
Projects the point p onto the plane and returns that point pOnSurf. The function is not reentrant. If you want to parallelize it, use multiple instances of CTiglPointTranslator.
| TIGL_EXPORT void tigl::CTiglPointTranslator::setQuadriangle | ( | const CTiglPoint & | xfl, |
| const CTiglPoint & | xfr, | ||
| const CTiglPoint & | xbl, | ||
| const CTiglPoint & | xbr ) |
Defines the quadriangle by the given for spatial points.
| xfl | (in) Coordinate of front left point |
| xfr | (in) Coordinate of front right point |
| xbl | (in) Coordinate of back left point |
| xbr | (in) Coordinate of back right point |
| TIGL_EXPORT TiglReturnCode tigl::CTiglPointTranslator::translate | ( | const CTiglPoint & | p, |
| double * | eta, | ||
| double * | xsi ) const |
Finds an eta-xsi coordinate that minimizes the distance to point p. The function is not reentrant. If you want to parallelize it, use multiple instances of CTiglPointTranslator.
| TIGL_EXPORT TiglReturnCode tigl::CTiglPointTranslator::translate | ( | double | eta, |
| double | xsi, | ||
| CTiglPoint * | p ) const |
Converts from eta-xsi to spatial coordinates. Reentrant.
|
private |
|
private |
|
private |
|
private |
|
private |