NURBS1.C File Reference

Go to the source code of this file.

Defines

#define DIVW(rpt, pt)
#define EPSILON   0.0001
#define DIVPT(p, dn)   { (p[0]) /= (dn); (p[1]) /= (dn); (p[2]) /= (dn); }
#define COPYVEC(b, a)   { b[0] = a[0]; b[1] = a[1]; b[2] = a[2]; }
#define maxV(surf)   ((surf)->numV-1L)
#define maxU(surf)   ((surf)->numU-1L)
#define GETPT(i)   (( dirflag ? &(n->points[crvInd][i]) : &(n->points[i][crvInd])))


Define Documentation

#define DIVW ( rpt,
pt   ) 

Value:

{ (pt[0]) = (rpt)->x / (rpt)->w; \
      (pt[1]) = (rpt)->y / (rpt)->w; \
      (pt[2]) = (rpt)->z / (rpt)->w; }

Definition at line 295 of file NURBS1.C.

#define EPSILON   0.0001

Definition at line 299 of file NURBS1.C.

#define DIVPT ( p,
dn   )     { (p[0]) /= (dn); (p[1]) /= (dn); (p[2]) /= (dn); }

Definition at line 300 of file NURBS1.C.

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

Definition at line 301 of file NURBS1.C.

#define maxV ( surf   )     ((surf)->numV-1L)

Definition at line 302 of file NURBS1.C.

#define maxU ( surf   )     ((surf)->numU-1L)

Definition at line 303 of file NURBS1.C.

#define GETPT (  )     (( dirflag ? &(n->points[crvInd][i]) : &(n->points[i][crvInd])))

Definition at line 599 of file NURBS1.C.


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