SIMPLIFY.H File Reference

Go to the source code of this file.

Data Structures

struct  Simplify_SELECTEDEDGE
 Internal structure used by structure simplification modelling action (DLL). More...
struct  Simplify_SELECTEDFACE
 Internal structure used by structure simplification modelling action (DLL). More...
struct  Simplify_VTYADJ
 Internal structure used by structure simplification modelling action (DLL). More...

Defines

#define DESELECTED   0
#define SELECTED   1
#define INEDITOR   6
#define min(a, b)   ( ((a) < (b)) ? (a) : (b) )
#define max(a, b)   ( ((a) > (b)) ? (a) : (b) )
#define VECCOPY(a, b)   { b[0] = a[0]; b[1] = a[1]; b[2] = a[2]; }
#define VECSUB(a, b, c)   { c[0]=a[0]-b[0]; c[1]=a[1]-b[1]; c[2]=a[2]-b[2];}
#define VECSUM(a, b, c)   { c[0]=a[0]+b[0]; c[1]=a[1]+b[1]; c[2]=a[2]+b[2];}
#define VECSCALE(a, b, c)   { c[0]=(a)*b[0]; c[1]=(a)*b[1]; c[2]=(a)*b[2];}
#define DOT(a, b)   ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) )
#define CROSS(v1, v2, r)
#define POINT2VECTOR(p, v)
#define VECTOR2POINT(v, p)
#define NO   0
#define YES   1
#define FAIL   -1
#define OK   1
#define PI   3.1415926
#define PI2   PI/2
#define DLG_SIM   600
#define DLG_SIM_ITER   601
#define DLG_SIM_FACE   602
#define DLG_SIM_EDGE   603

Typedefs

typedef struct
Simplify_SELECTEDEDGE 
selectededge
 Internal structure used by structure simplification modelling action (DLL).
typedef struct
Simplify_SELECTEDFACE 
selectedface
 Internal structure used by structure simplification modelling action (DLL).
typedef struct Simplify_VTYADJ vtyadj
 Internal structure used by structure simplification modelling action (DLL).


Define Documentation

#define DESELECTED   0

Definition at line 27 of file SIMPLIFY.H.

#define SELECTED   1

Definition at line 28 of file SIMPLIFY.H.

#define INEDITOR   6

Definition at line 29 of file SIMPLIFY.H.

#define min ( a,
 )     ( ((a) < (b)) ? (a) : (b) )

Definition at line 67 of file SIMPLIFY.H.

#define max ( a,
 )     ( ((a) > (b)) ? (a) : (b) )

Definition at line 70 of file SIMPLIFY.H.

#define VECCOPY ( a,
 )     { b[0] = a[0]; b[1] = a[1]; b[2] = a[2]; }

Definition at line 72 of file SIMPLIFY.H.

#define VECSUB ( a,
b,
 )     { c[0]=a[0]-b[0]; c[1]=a[1]-b[1]; c[2]=a[2]-b[2];}

Definition at line 73 of file SIMPLIFY.H.

#define VECSUM ( a,
b,
 )     { c[0]=a[0]+b[0]; c[1]=a[1]+b[1]; c[2]=a[2]+b[2];}

Definition at line 74 of file SIMPLIFY.H.

#define VECSCALE ( a,
b,
 )     { c[0]=(a)*b[0]; c[1]=(a)*b[1]; c[2]=(a)*b[2];}

Definition at line 75 of file SIMPLIFY.H.

#define DOT ( a,
 )     ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) )

Definition at line 76 of file SIMPLIFY.H.

#define CROSS ( v1,
v2,
 ) 

Value:

{ \
                          r[0] = (v1[1]*v2[2]) - (v2[1]*v1[2]);  \
                          r[1] = (v1[2]*v2[0]) - (v1[0]*v2[2]);  \
                          r[2] = (v1[0]*v2[1]) - (v2[0]*v1[1]);  \
                         }

Definition at line 77 of file SIMPLIFY.H.

#define POINT2VECTOR ( p,
 ) 

Value:

v[0]=(double)p[0]; v[1]=(double)p[1]; \
                          v[2]=(double)p[2];

Definition at line 82 of file SIMPLIFY.H.

#define VECTOR2POINT ( v,
 ) 

Value:

p[0]=(long)v[0]; p[1]=(long)v[1]; \
                          p[2]=(long)v[2];

Definition at line 84 of file SIMPLIFY.H.

#define NO   0

Definition at line 87 of file SIMPLIFY.H.

#define YES   1

Definition at line 88 of file SIMPLIFY.H.

#define FAIL   -1

Definition at line 89 of file SIMPLIFY.H.

#define OK   1

Definition at line 90 of file SIMPLIFY.H.

#define PI   3.1415926

Definition at line 92 of file SIMPLIFY.H.

#define PI2   PI/2

Definition at line 94 of file SIMPLIFY.H.

#define DLG_SIM   600

Definition at line 121 of file SIMPLIFY.H.

#define DLG_SIM_ITER   601

Definition at line 122 of file SIMPLIFY.H.

#define DLG_SIM_FACE   602

Definition at line 123 of file SIMPLIFY.H.

#define DLG_SIM_EDGE   603

Definition at line 124 of file SIMPLIFY.H.


Generated on Sun Apr 27 14:20:16 2014 for OpenFX by  doxygen 1.5.6