mmg3d
boulep.c File Reference

Functions for ball of points computation. More...

#include "mmgcommon.h"
Include dependency graph for boulep.c:

Functions

int MMG5_boulen (MMG5_pMesh mesh, int *adjt, int start, int ip, double *nn)
 
int MMG5_boulec (MMG5_pMesh mesh, int *adjt, int start, int ip, double *tt)
 
int MMG5_bouler (MMG5_pMesh mesh, int *adjt, int start, int ip, int *list, int *listref, int *ng, int *nr, int lmax)
 

Variables

MMG5_Info info
 

Detailed Description

Functions for ball of points computation.

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

Function Documentation

◆ MMG5_boulec()

int MMG5_boulec ( MMG5_pMesh  mesh,
int *  adjt,
int  start,
int  ip,
double *  tt 
)
Parameters
meshpointer toward the mesh structure.
adjtpointer toward the table of triangle adjacency.
startindex of triangle where we start to work.
ipindex of vertex where the tangent is computed.
ttpointer toward the computed tangent.
Returns
0 if fail, 1 otherwise.

Compute the tangent to the curve at point ip.

◆ MMG5_boulen()

int MMG5_boulen ( MMG5_pMesh  mesh,
int *  adjt,
int  start,
int  ip,
double *  nn 
)
Parameters
meshpointer toward the mesh structure.
adjtpointer toward the table of triangle adjacency.
startindex of triangle where we start to work.
ipindex of vertex where the normal is computed.
nnpointer toward the computed tangent.
Returns
0 if fail, 1 otherwise.

Compute average normal of triangles sharing P without crossing ridge.

Here is the call graph for this function:

◆ MMG5_bouler()

int MMG5_bouler ( MMG5_pMesh  mesh,
int *  adjt,
int  start,
int  ip,
int *  list,
int *  listref,
int *  ng,
int *  nr,
int  lmax 
)
Parameters
meshpointer toward the mesh structure.
adjtpointer toward the table of triangle adjacency.
startindex of triangle where we start to work.
ipindex of vertex on which we work.
listpointer toward the computed list of GEO vertices incident to ip.
listrefpointer toward the corresponding edge references
ngpointer toward the number of ridges.
nrpointer toward the number of reference edges.
lmaxmaxmum size for the ball of the point ip.
Returns
The number of edges incident to the vertex ip.

Store edges and count the number of ridges and reference edges incident to the vertex ip.

Variable Documentation

◆ info

MMG5_Info info

MMG5_Info structure