#include <stdio.h>
#include "node.h"
#include "elm.h"
Go to the source code of this file.
Data Structures | |
struct | sConstrain |
struct | sConstClass |
Defines | |
#define | MIN(a, b) ((a<b)?a:b) |
#define | MAX(a, b) ((a>b)?a:b) |
#define | ABS(a) ((a>=0)?a:-a) |
#define | ConstInit(type) |
#define | ConstNew(type, label, nn, ne, c, l) |
#define | ConstFree(c) |
#define | ConstRead(c) |
#define | ConstBuild(c) |
#define | ConstToLocal(c, p, e, g, l) |
#define | ConstToGlobal(c, p, e, l, g) |
#define | ConstSlide(c, p, e, d, l, g, pl) |
Typedefs | |
typedef enum _consttype | eConstType |
Enumerations | |
enum | _consttype { CURVE, SHOT, SURFACE, NumConstTypes } |
Functions | |
void | ConstrainInit (void) |
void | ConstrainFree (void) |
void | ConstrainBuild (void) |
Variables | |
sConstClass | ConstClass [NumConstTypes] |
sConstrain ** | ConstList |
int | ContNumConstrainRead |
int | NumConstrains |
sCoord * | shotVector |
Definition in file constrain.h.
#define ABS | ( | a | ) | ((a>=0)?a:-a) |
Definition at line 62 of file constrain.h.
Referenced by pfsInitParams(), and pfsSolveSurfPar1Pass().
#define ConstBuild | ( | c | ) |
Value:
if(ConstClass[c->type].build != 0L) \ (*ConstClass[c->type].build)(c)
Definition at line 132 of file constrain.h.
Referenced by ConstrainBuild().
#define ConstFree | ( | c | ) |
Value:
if(ConstClass[c->type].free != 0L) \ (*ConstClass[c->type].free)(c)
Definition at line 124 of file constrain.h.
Referenced by ConstrainFree().
#define ConstInit | ( | type | ) |
Value:
if(ConstClass[type].init != 0L) \ (*ConstClass[type].init)()
Definition at line 116 of file constrain.h.
Referenced by ConstrainInit().
#define ConstNew | ( | type, | |||
label, | |||||
nn, | |||||
ne, | |||||
c, | |||||
l | ) |
Value:
if(ConstClass[type].new != 0L) \ (*ConstClass[type].new)(label,nn,ne,c,l)
Definition at line 120 of file constrain.h.
Referenced by _NfiReadConstrainCurve(), _NfiReadConstrainShot(), and _NfiReadConstrainSurface().
#define ConstRead | ( | c | ) |
Value:
if(ConstClass[c->type].read != 0L) \ (*ConstClass[c->type].read)(c)
Definition at line 128 of file constrain.h.
Referenced by _NfiReadConstrainCurve(), _NfiReadConstrainShot(), and _NfiReadConstrainSurface().
#define ConstSlide | ( | c, | |||
p, | |||||
e, | |||||
d, | |||||
l, | |||||
g, | |||||
pl | ) |
Value:
((ConstClass[c->type].slide != 0L) ? \ (*ConstClass[c->type].slide)(c,p,e,d,l,g,pl) :\ 0)
Definition at line 146 of file constrain.h.
Referenced by DisplacementVelocity().
#define ConstToGlobal | ( | c, | |||
p, | |||||
e, | |||||
l, | |||||
g | ) |
Value:
((ConstClass[c->type].global != 0L) ? \ (*ConstClass[c->type].global)(c,p,e,l,g) :\ 0)
Definition at line 141 of file constrain.h.
Referenced by DisplacementVelocity().
#define ConstToLocal | ( | c, | |||
p, | |||||
e, | |||||
g, | |||||
l | ) |
Value:
((ConstClass[c->type].local != 0L) ? \ (*ConstClass[c->type].local)(c,p,e,g,l) :\ 0)
Definition at line 136 of file constrain.h.
Referenced by DisplacementVelocity().
#define MAX | ( | a, | |||
b | ) | ((a>b)?a:b) |
Definition at line 58 of file constrain.h.
Referenced by PFS3Box::ExtendVolume(), LineBounds(), and pfsNormalizeParVals().
#define MIN | ( | a, | |||
b | ) | ((a<b)?a:b) |
typedef enum _consttype eConstType |
enum _consttype |
void ConstrainBuild | ( | void | ) |
void ConstrainFree | ( | void | ) |
void ConstrainInit | ( | void | ) |
Definition at line 55 of file constrain.c.
References ConstCurveInit(), ConstInit, ConstShotInit(), ConstSurfaceInit(), ContNumConstrainRead, CURVE, sConstClass::init, NumConstrains, NumConstTypes, SHOT, and SURFACE.
sConstClass ConstClass[NumConstTypes] |
Definition at line 36 of file constrain.c.
Definition at line 37 of file constrain.c.
Definition at line 38 of file constrain.c.
int NumConstrains |
Definition at line 39 of file constrain.c.
Definition at line 26 of file constshot.c.