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

Macros

#define Interpolate(a, x, b, y)   RealInterpolate(a,x,b,y)
 
#define RealInterpolate(a, x, b, y)
 
#define Swap(a, b)   do { GLUvertex *t = a; a = b; b = t; } while (0)
 

Functions

GLdouble __gl_edgeEval (GLUvertex *u, GLUvertex *v, GLUvertex *w)
 
void __gl_edgeIntersect (GLUvertex *o1, GLUvertex *d1, GLUvertex *o2, GLUvertex *d2, GLUvertex *v)
 
GLdouble __gl_edgeSign (GLUvertex *u, GLUvertex *v, GLUvertex *w)
 
GLdouble __gl_transEval (GLUvertex *u, GLUvertex *v, GLUvertex *w)
 
GLdouble __gl_transSign (GLUvertex *u, GLUvertex *v, GLUvertex *w)
 
int __gl_vertCCW (GLUvertex *u, GLUvertex *v, GLUvertex *w)
 
int __gl_vertLeq (GLUvertex *u, GLUvertex *v)
 

Macro Definition Documentation

◆ Interpolate

#define Interpolate (   a,
  x,
  b,
  y 
)    RealInterpolate(a,x,b,y)

Definition at line 179 of file geom.c.

◆ RealInterpolate

#define RealInterpolate (   a,
  x,
  b,
  y 
)
Value:
(a = (a < 0) ? 0 : a, b = (b < 0) ? 0 : b, \
((a <= b) ? ((b == 0) ? ((x+y) / 2) \
: (x + (y-x) * (a/(a+b)))) \
: (y + (x-y) * (b/(a+b)))))
#define b(i)
Definition RSha256.hxx:100
#define a(i)
Definition RSha256.hxx:99
Double_t y[n]
Definition legend1.C:17
Double_t x[n]
Definition legend1.C:17

Definition at line 172 of file geom.c.

◆ Swap

#define Swap (   a,
  b 
)    do { GLUvertex *t = a; a = b; b = t; } while (0)

Definition at line 201 of file geom.c.

Function Documentation

◆ __gl_edgeEval()

GLdouble __gl_edgeEval ( GLUvertex u,
GLUvertex v,
GLUvertex w 
)

Definition at line 47 of file geom.c.

◆ __gl_edgeIntersect()

void __gl_edgeIntersect ( GLUvertex o1,
GLUvertex d1,
GLUvertex o2,
GLUvertex d2,
GLUvertex v 
)

Definition at line 203 of file geom.c.

◆ __gl_edgeSign()

GLdouble __gl_edgeSign ( GLUvertex u,
GLUvertex v,
GLUvertex w 
)

Definition at line 77 of file geom.c.

◆ __gl_transEval()

GLdouble __gl_transEval ( GLUvertex u,
GLUvertex v,
GLUvertex w 
)

Definition at line 102 of file geom.c.

◆ __gl_transSign()

GLdouble __gl_transSign ( GLUvertex u,
GLUvertex v,
GLUvertex w 
)

Definition at line 132 of file geom.c.

◆ __gl_vertCCW()

int __gl_vertCCW ( GLUvertex u,
GLUvertex v,
GLUvertex w 
)

Definition at line 153 of file geom.c.

◆ __gl_vertLeq()

int __gl_vertLeq ( GLUvertex u,
GLUvertex v 
)

Definition at line 40 of file geom.c.