Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Functions for ball of points computation. More...
#include "mmgcommon_private.h"
Go to the source code of this file.
Functions | |
int | MMG5_boulep (MMG5_pMesh mesh, MMG5_int start, int ip, MMG5_int *adja, MMG5_int *list, MMG5_int *tlist) |
int | MMG5_boulen (MMG5_pMesh mesh, MMG5_int *adjt, MMG5_int start, int ip, double *nn) |
int | MMG5_boulec (MMG5_pMesh mesh, MMG5_int *adjt, MMG5_int start, int ip, double *tt) |
int | MMG5_bouler (MMG5_pMesh mesh, MMG5_int *adjt, MMG5_int start, int ip, MMG5_int *list, MMG5_int *listref, int *ng, int *nr, int lmax) |
int | MMG5_boulet (MMG5_pMesh mesh, MMG5_int start, int ip, MMG5_int *list, int8_t s, int8_t *opn) |
Variables | |
MMG5_Info | info |
Functions for ball of points computation.
Definition in file boulep.c.
int MMG5_boulec | ( | MMG5_pMesh | mesh, |
MMG5_int * | adjt, | ||
MMG5_int | start, | ||
int | ip, | ||
double * | tt | ||
) |
mesh | pointer to the mesh structure. |
adjt | pointer to the table of triangle adjacency. |
start | index of triangle where we start to work. |
ip | index of vertex where the tangent is computed. |
tt | pointer to the computed tangent. |
Compute the tangent to the curve at point ip.
Definition at line 199 of file boulep.c.
int MMG5_boulen | ( | MMG5_pMesh | mesh, |
MMG5_int * | adjt, | ||
MMG5_int | start, | ||
int | ip, | ||
double * | nn | ||
) |
mesh | pointer to the mesh structure. |
adjt | pointer to the table of triangle adjacency. |
start | index of triangle where we start to work. |
ip | local index of vertex where the normal is computed. |
nn | pointer to the computed tangent. |
Compute average normal of triangles sharing P without crossing ridge.
Definition at line 119 of file boulep.c.
int MMG5_boulep | ( | MMG5_pMesh | mesh, |
MMG5_int | start, | ||
int | ip, | ||
MMG5_int * | adja, | ||
MMG5_int * | list, | ||
MMG5_int * | tlist | ||
) |
mesh | pointer to mesh structure. |
start | a triangle to which ip belongs. |
ip | local point index |
adja | pointer to the adjacency array. |
list | pointer to the list of points connected to ip. |
tlist | pointer to the list of triangles sharing ip. |
Return all vertices connected to ip (with list[0] = ip) and all triangles sharing ip.
Definition at line 52 of file boulep.c.
int MMG5_bouler | ( | MMG5_pMesh | mesh, |
MMG5_int * | adjt, | ||
MMG5_int | start, | ||
int | ip, | ||
MMG5_int * | list, | ||
MMG5_int * | listref, | ||
int * | ng, | ||
int * | nr, | ||
int | lmax | ||
) |
mesh | pointer to the mesh structure. |
adjt | pointer to the table of triangle adjacency. |
start | index of triangle where we start to work. |
ip | index of vertex on which we work. |
list | pointer to the computed list of GEO vertices incident to ip. |
listref | pointer to the corresponding edge references |
ng | pointer to the number of ridges. |
nr | pointer to the number of reference edges. |
lmax | maxmum size for the ball of the point ip. |
Store edges and count the number of ridges and reference edges incident to the vertex ip.
Definition at line 287 of file boulep.c.
int MMG5_boulet | ( | MMG5_pMesh | mesh, |
MMG5_int | start, | ||
int | ip, | ||
MMG5_int * | list, | ||
int8_t | s, | ||
int8_t * | opn | ||
) |
mesh | pointer to the mesh structure. |
start | index of triangle to start. |
ip | index of point for wich we compute the ball. |
list | pointer to the computed ball of ip. |
s | 1 if called from mmgs, 0 if called from mmg2d. |
opn | 0 for a closed ball, 1 for an open ball. |
Find all triangles sharing ip, \(list[0] =\) start do not stop when crossing ridge.
Definition at line 363 of file boulep.c.
|
extern |