|
mmgs
|
Functions for Bezier surface computation. More...
#include "mmgs.h"
Functions | |
| int | MMG5_mmgsBezierCP (MMG5_pMesh mesh, MMG5_Tria *pt, MMG5_pBezier pb, int8_t ori) |
| int | MMGS_bezierInt (MMG5_pBezier pb, double uv[2], double o[3], double no[3], double to[3]) |
Variables | |
| int8_t | ddb |
Functions for Bezier surface computation.
| int MMG5_mmgsBezierCP | ( | MMG5_pMesh | mesh, |
| MMG5_Tria * | pt, | ||
| MMG5_pBezier | pb, | ||
| int8_t | ori | ||
| ) |
| mesh | pointer toward the mesh structure. |
| pt | pointer toward the triangle structure. |
| pb | pointer toward the computed Bezier structure. |
| ori | triangle orientation (unused but here for compatibility with the MMG5_bezierCP interface). |
Compute Bezier control points on triangle pt (cf. Vlachos)


| int MMGS_bezierInt | ( | MMG5_pBezier | pb, |
| double | uv[2], | ||
| double | o[3], | ||
| double | no[3], | ||
| double | to[3] | ||
| ) |
| pb | pointer toward the Bezier structure. |
| uv | coordinates of the point in the parametric space. |
| o | computed coordinates of the point in the real space. |
| no | computed normal. |
| to | computed tangent. |
Compute o, no and to at
in Bezier patch.

| int8_t ddb |