Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Functions | Variables
bezier_s.c File Reference

Functions for Bezier surface computation. More...

#include "libmmgs_private.h"
Include dependency graph for bezier_s.c:

Go to the source code of this file.

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
 

Detailed Description

Functions for Bezier surface computation.

Author
Charles Dapogny (UPMC)
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Algiane Froehly (Inria/UBordeaux)
Version
5
Todo:
doxygen documentation.

Definition in file bezier_s.c.

Function Documentation

◆ MMG5_mmgsBezierCP()

int MMG5_mmgsBezierCP ( MMG5_pMesh  mesh,
MMG5_Tria pt,
MMG5_pBezier  pb,
int8_t  ori 
)
Parameters
meshpointer toward the mesh structure.
ptpointer toward the triangle structure.
pbpointer toward the computed Bezier structure.
oritriangle orientation (unused but here for compatibility with the MMG5_bezierCP interface).
Returns
1.

Compute Bezier control points on triangle pt (cf. [4]).

Todo:
merge with the MMG5_mmg3dBezierCP function and remove the pointer toward this functions.

Definition at line 54 of file bezier_s.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_bezierInt()

int MMGS_bezierInt ( MMG5_pBezier  pb,
double  uv[2],
double  o[3],
double  no[3],
double  to[3] 
)
Parameters
pbpointer toward the Bezier structure.
uvcoordinates of the point in the parametric space.
ocomputed coordinates of the point in the real space.
nocomputed normal.
tocomputed tangent.
Returns
1.

Compute o, no and to at $(u,v)$ in Bezier patch.

Definition at line 207 of file bezier_s.c.

Here is the caller graph for this function:

Variable Documentation

◆ ddb

int8_t ddb
extern

Definition at line 42 of file mmg3d1_delone.c.