Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
mesh.c File Reference
#include "gluos.h"
#include <stddef.h>
#include <assert.h>
#include "mesh.h"
#include "memalloc.h"
Include dependency graph for mesh.c:

Macros

#define FALSE   0
 
#define TRUE   1
 

Functions

GLUhalfEdge__gl_meshAddEdgeVertex (GLUhalfEdge *eOrg)
 
void __gl_meshCheckMesh (GLUmesh *mesh)
 
GLUhalfEdge__gl_meshConnect (GLUhalfEdge *eOrg, GLUhalfEdge *eDst)
 
int __gl_meshDelete (GLUhalfEdge *eDel)
 
void __gl_meshDeleteMesh (GLUmesh *mesh)
 
GLUhalfEdge__gl_meshMakeEdge (GLUmesh *mesh)
 
GLUmesh__gl_meshNewMesh (void)
 
int __gl_meshSplice (GLUhalfEdge *eOrg, GLUhalfEdge *eDst)
 
GLUhalfEdge__gl_meshSplitEdge (GLUhalfEdge *eOrg)
 
GLUmesh__gl_meshUnion (GLUmesh *mesh1, GLUmesh *mesh2)
 
void __gl_meshZapFace (GLUface *fZap)
 
static GLUfaceallocFace ()
 
static GLUvertexallocVertex ()
 
static void KillEdge (GLUhalfEdge *eDel)
 
static void KillFace (GLUface *fDel, GLUface *newLface)
 
static void KillVertex (GLUvertex *vDel, GLUvertex *newOrg)
 
static GLUhalfEdgeMakeEdge (GLUhalfEdge *eNext)
 
static void MakeFace (GLUface *newFace, GLUhalfEdge *eOrig, GLUface *fNext)
 
static void MakeVertex (GLUvertex *newVertex, GLUhalfEdge *eOrig, GLUvertex *vNext)
 
static void Splice (GLUhalfEdge *a, GLUhalfEdge *b)
 

Macro Definition Documentation

◆ FALSE

#define FALSE   0

Definition at line 45 of file mesh.c.

◆ TRUE

#define TRUE   1

Definition at line 42 of file mesh.c.

Function Documentation

◆ __gl_meshAddEdgeVertex()

GLUhalfEdge * __gl_meshAddEdgeVertex ( GLUhalfEdge eOrg)

Definition at line 441 of file mesh.c.

◆ __gl_meshCheckMesh()

void __gl_meshCheckMesh ( GLUmesh mesh)

Definition at line 737 of file mesh.c.

◆ __gl_meshConnect()

GLUhalfEdge * __gl_meshConnect ( GLUhalfEdge eOrg,
GLUhalfEdge eDst 
)

Definition at line 503 of file mesh.c.

◆ __gl_meshDelete()

int __gl_meshDelete ( GLUhalfEdge eDel)

Definition at line 379 of file mesh.c.

◆ __gl_meshDeleteMesh()

void __gl_meshDeleteMesh ( GLUmesh mesh)

Definition at line 706 of file mesh.c.

◆ __gl_meshMakeEdge()

GLUhalfEdge * __gl_meshMakeEdge ( GLUmesh mesh)

Definition at line 270 of file mesh.c.

◆ __gl_meshNewMesh()

GLUmesh * __gl_meshNewMesh ( void  )

Definition at line 598 of file mesh.c.

◆ __gl_meshSplice()

int __gl_meshSplice ( GLUhalfEdge eOrg,
GLUhalfEdge eDst 
)

Definition at line 323 of file mesh.c.

◆ __gl_meshSplitEdge()

GLUhalfEdge * __gl_meshSplitEdge ( GLUhalfEdge eOrg)

Definition at line 470 of file mesh.c.

◆ __gl_meshUnion()

GLUmesh * __gl_meshUnion ( GLUmesh mesh1,
GLUmesh mesh2 
)

Definition at line 650 of file mesh.c.

◆ __gl_meshZapFace()

void __gl_meshZapFace ( GLUface fZap)

Definition at line 550 of file mesh.c.

◆ allocFace()

static GLUface * allocFace ( )
static

Definition at line 53 of file mesh.c.

◆ allocVertex()

static GLUvertex * allocVertex ( )
static

Definition at line 48 of file mesh.c.

◆ KillEdge()

static void KillEdge ( GLUhalfEdge eDel)
static

Definition at line 199 of file mesh.c.

◆ KillFace()

static void KillFace ( GLUface fDel,
GLUface newLface 
)
static

Definition at line 243 of file mesh.c.

◆ KillVertex()

static void KillVertex ( GLUvertex vDel,
GLUvertex newOrg 
)
static

Definition at line 219 of file mesh.c.

◆ MakeEdge()

static GLUhalfEdge * MakeEdge ( GLUhalfEdge eNext)
static

Definition at line 64 of file mesh.c.

◆ MakeFace()

static void MakeFace ( GLUface newFace,
GLUhalfEdge eOrig,
GLUface fNext 
)
static

Definition at line 163 of file mesh.c.

◆ MakeVertex()

static void MakeVertex ( GLUvertex newVertex,
GLUhalfEdge eOrig,
GLUvertex vNext 
)
static

Definition at line 129 of file mesh.c.

◆ Splice()

static void Splice ( GLUhalfEdge a,
GLUhalfEdge b 
)
static

Definition at line 112 of file mesh.c.