Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Functions for Bezier surface computation. More...
#include "libmmg3d_private.h"
Go to the source code of this file.
Functions | |
int | MMG5_BezierTgt (double c1[3], double c2[3], double n1[3], double n2[3], double t1[3], double t2[3]) |
double | MMG5_BezierGeod (double c1[3], double c2[3], double t1[3], double t2[3]) |
int | MMG5_BezierEdge (MMG5_pMesh mesh, MMG5_int ip0, MMG5_int ip1, double b0[3], double b1[3], int8_t ised, double v[3]) |
int | MMG5_mmg3dBezierCP (MMG5_pMesh mesh, MMG5_Tria *pt, MMG5_pBezier pb, int8_t ori) |
int | MMG3D_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.
Definition in file bezier_3d.c.
int MMG3D_bezierInt | ( | MMG5_pBezier | pb, |
double | uv[2], | ||
double | o[3], | ||
double | no[3], | ||
double | to[3] | ||
) |
pb | pointer to 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 \((u,v)\) in Bezier patch.
Definition at line 608 of file bezier_3d.c.
|
inline |
mesh | pointer to the mesh structure. |
ip0 | index of the first point of the curve. |
ip1 | index of the second point of the curve. |
b0 | the first computed extrapolated control point. |
b1 | the second computed extrapolated control point. |
ised | flag for special edge. |
v | direction for normal vectors. |
Compute control points associated to the underlying curve to \([p0;p1]\). ised = 1 if \([p0;p1]\) must be considered as a special edge. Provide a direction v which will be considered as reference when dealing with choice of normal vectors.
Definition at line 152 of file bezier_3d.c.
|
inline |
c1 | coordinates of the first point of the curve. |
c2 | coordinates of the second point of the curve. |
t1 | normal at the first point of the curve. |
t2 | normal at the second point of the curve. |
Compute value of the parameter that makes the underlying Bezier curve with 'constant speed'
Definition at line 111 of file bezier_3d.c.
|
inline |
c1 | coordinates of the first point of the curve. |
c2 | coordinates of the second point of the curve. |
n1 | normal at the first point of the curve. |
n2 | normal at the second point of the curve. |
t1 | computed normal at the first point of the curve. |
t2 | computed normal at the second point of the curve. |
Compute tangent to geometric support curve passing through c1,c2, with normals n1,n2
Definition at line 53 of file bezier_3d.c.
int MMG5_mmg3dBezierCP | ( | MMG5_pMesh | mesh, |
MMG5_Tria * | pt, | ||
MMG5_pBezier | pb, | ||
int8_t | ori | ||
) |
mesh | pointer to the mesh structure. |
pt | pointer to the triangle structure. |
pb | pointer to the computed Bezier structure. |
ori | triangle orientation. |
Compute Bezier control points on triangle pt (cf. [4])
Orientation of the normals at non-manifold points
Definition at line 326 of file bezier_3d.c.
|
extern |
Definition at line 42 of file mmg3d1_delone.c.