#include <CTiglPointTranslator.h>
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
TIGL_EXPORT TiglReturnCode | translate (double eta, double xsi, CTiglPoint *p) const |
| Converts from eta-xsi to spatial coordinates. Reentrant. More...
|
|
◆ CTiglPointTranslator() [1/2]
TIGL_EXPORT tigl::CTiglPointTranslator::CTiglPointTranslator |
( |
| ) |
|
◆ CTiglPointTranslator() [2/2]
The class is initialized with the corners of a quadriangle.
- Parameters
-
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 |
◆ calcPoint()
void tigl::CTiglPointTranslator::calcPoint |
( |
double |
eta, |
|
|
double |
xsi, |
|
|
CTiglPoint & |
p |
|
) |
| const |
|
private |
◆ getNormal()
◆ project()
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.
◆ setQuadriangle()
Defines the quadriangle by the given for spatial points.
- Parameters
-
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 |
◆ translate() [1/2]
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.
◆ translate() [2/2]
Converts from eta-xsi to spatial coordinates. Reentrant.
◆ initialized
bool tigl::CTiglPointTranslator::initialized |
|
private |
The documentation for this class was generated from the following file: