constrain.h File Reference

#include <stdio.h>
#include "node.h"
#include "elm.h"

Include dependency graph for constrain.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _constrain
struct  _constclass

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
typedef _constrain sConstrain
typedef _constclass sConstClass

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


Detailed Description

Author:
Joao Luiz Elias Campos.
Date:
June 22, 2004

Definition in file constrain.h.


Define Documentation

#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)

Definition at line 54 of file constrain.h.

Referenced by PFS3Box::ExtendVolume(), and LineBounds().


Typedef Documentation

typedef enum _consttype eConstType

typedef struct _constclass sConstClass

typedef struct _constrain sConstrain


Enumeration Type Documentation

enum _consttype

Enumerator:
CURVE 
SHOT 
SURFACE 
NumConstTypes 

Definition at line 67 of file constrain.h.


Function Documentation

void ConstrainBuild ( void   ) 

Definition at line 90 of file constrain.c.

References ConstBuild, ConstList, and NumConstrains.

Referenced by NfiInterpFile().

Here is the caller graph for this function:

void ConstrainFree ( void   ) 

Definition at line 75 of file constrain.c.

References ConstFree, ConstList, and NumConstrains.

void ConstrainInit ( void   ) 

Definition at line 55 of file constrain.c.

References ConstClass, ConstCurveInit(), ConstInit, ConstList, ConstShotInit(), ConstSurfaceInit(), ContNumConstrainRead, CURVE, _constclass::init, NumConstrains, NumConstTypes, SHOT, and SURFACE.

Referenced by _NfiReadConstrain().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

sConstClass ConstClass[NumConstTypes]

Definition at line 36 of file constrain.c.

Referenced by ConstCurveInit(), ConstrainInit(), ConstShotInit(), and ConstSurfaceInit().

sConstrain** ConstList

Definition at line 37 of file constrain.c.

Referenced by _NfiReadConstrainCurve(), _NfiReadConstrainShot(), _NfiReadConstrainSurface(), ConstrainBuild(), ConstrainFree(), ConstrainInit(), and DisplacementVelocity().

int ContNumConstrainRead

Definition at line 38 of file constrain.c.

Referenced by ConstCurveNew(), ConstrainInit(), ConstShotNew(), and ConstSurfaceNew().

int NumConstrains

Definition at line 39 of file constrain.c.

Referenced by _NfiReadConstrain(), ConstrainBuild(), ConstrainFree(), ConstrainInit(), and NfiInterpFile().

sCoord* shotVector

Definition at line 26 of file constshot.c.

Referenced by ConstShotRead(), and TranslateShot().


Generated on Fri Oct 5 15:54:37 2007 for ReconMS by  doxygen 1.5.1