C:/USPDesig/INC/vectorop.h File Reference

Go to the source code of this file.

Typedefs

typedef double real
typedef real vector [4]
typedef real matrix [4][4]

Functions

void invmat (matrix mat, matrix inv, int n)
real cofactor (matrix mat, int dim, int i, int j)
real determ (matrix mat, int dim)
void matmult (matrix m, matrix m1, matrix m2)
void matminus (matrix m, matrix m1, matrix m2)
void matplus (matrix m, matrix m1, matrix m2)
void invrefine (matrix mat, matrix inv)
void matident (matrix m)
int testident (matrix m, real eps)
void mattrans (matrix m, real tx, real ty, real tz)
void matrotat (matrix mat, real rx, real ry, real rz)
void matscale (matrix m, real sx, real sy, real sz)
void matcopy (matrix m1, matrix m2)
void vecmult (vector v1, vector v2, matrix m)
void matprint (matrix m)
void mattranspose (matrix m, matrix mtransp)
int comp (real f1, real f2, real tol)
realmakevec (real *v, real x, real y, real z, real w)
real dot (real *v1, real *v2)
real dot2 (real *v1, real *v2, int drop)
real vecd (real *v1, real *v2)
int vecnull (real *vec, real eps)
int vecnull2 (real *vec, real eps, int drop)
int vecequal (real *v1, real *v2)
int veccolin (real *v1, real *v2, real eps)
realcross (real *v1, real *v2, real *v3)
char normalize (real *v)
realveccopy (real *v1, real *v2)
realvecminus (real *res, real *v1, real *v2)
realvecplus (real *res, real *v1, real *v2)
void vecesc (real *v, real *ve, real k)
int getdrop (real *vec)
void vecprint (vector v)
realveczer (real *v)
real vecdet (real *v1, real *v2, real *v3)
realvecpe (real *vs, real *ve, real *v, real k)
realcalc_p (real *v1, real *v2, real t, real *v)
realvec2cp (real *v, real *o)
real vecd2 (real *v1, real *v2)
void rotmat (vector axis, real th, matrix rot)
void matzer (matrix mat)


Typedef Documentation

typedef real matrix[4][4]

Definition at line 55 of file vectorop.h.

typedef double real

Definition at line 47 of file vectorop.h.

typedef real vector[4]

Definition at line 51 of file vectorop.h.


Function Documentation

real* calc_p ( real v1,
real v2,
real  t,
real v 
)

real cofactor ( matrix  mat,
int  dim,
int  i,
int  j 
)

Definition at line 74 of file vectorop.cpp.

References determ().

Referenced by determ(), and invmat().

int comp ( real  f1,
real  f2,
real  tol 
)

real* cross ( real v1,
real v2,
real v3 
)

real determ ( matrix  mat,
int  dim 
)

Definition at line 103 of file vectorop.cpp.

References cofactor().

Referenced by cofactor(), invmat(), MSD_lowRotate(), MSD_lowScale(), and MSD_lowTransformation().

real dot ( real v1,
real v2 
)

real dot2 ( real v1,
real v2,
int  drop 
)

int getdrop ( real vec  ) 

void invmat ( matrix  mat,
matrix  inv,
int  n 
)

Definition at line 58 of file vectorop.cpp.

References cofactor(), and determ().

Referenced by MSD_lowTransformation().

void invrefine ( matrix  mat,
matrix  inv 
)

Definition at line 165 of file vectorop.cpp.

References I, matminus(), matmult(), and matplus().

real* makevec ( real v,
real  x,
real  y,
real  z,
real  w 
)

void matcopy ( matrix  m1,
matrix  m2 
)

Definition at line 337 of file vectorop.cpp.

Referenced by mattranspose().

void matident ( matrix  m  ) 

void matminus ( matrix  m,
matrix  m1,
matrix  m2 
)

Definition at line 133 of file vectorop.cpp.

Referenced by invrefine().

void matmult ( matrix  m,
matrix  m1,
matrix  m2 
)

Definition at line 122 of file vectorop.cpp.

References vecmult().

Referenced by invrefine(), and MSD_lowAffine().

void matplus ( matrix  m,
matrix  m1,
matrix  m2 
)

Definition at line 149 of file vectorop.cpp.

Referenced by invrefine(), and MSD_lowMatrizInerciaTotal().

void matprint ( matrix  m  ) 

Definition at line 365 of file vectorop.cpp.

void matrotat ( matrix  mat,
real  rx,
real  ry,
real  rz 
)

Definition at line 244 of file vectorop.cpp.

References comp(), EPS, and PI.

Referenced by MSD_highRotaciona(), MSD_lowMakeRotationalSweep(), MSD_lowRot90Dg(), and MSD_lowRotate().

void matscale ( matrix  m,
real  sx,
real  sy,
real  sz 
)

Definition at line 320 of file vectorop.cpp.

Referenced by MSD_lowScale().

void mattrans ( matrix  m,
real  tx,
real  ty,
real  tz 
)

Definition at line 218 of file vectorop.cpp.

Referenced by MSD_lowAffine(), and MSD_lowTranslate().

void mattranspose ( matrix  m,
matrix  mtransp 
)

Definition at line 379 of file vectorop.cpp.

References matcopy().

void matzer ( matrix  mat  ) 

Definition at line 189 of file vectorop.cpp.

Referenced by MSD_lowMatrizInercia(), and MSD_lowMatrizInerciaTotal().

char normalize ( real v  ) 

void rotmat ( vector  axis,
real  th,
matrix  rot 
)

int testident ( matrix  m,
real  eps 
)

Definition at line 198 of file vectorop.cpp.

References comp(), FALSE, and SUCCESS.

real* vec2cp ( real v,
real o 
)

int veccolin ( real v1,
real v2,
real  eps 
)

real* veccopy ( real v1,
real v2 
)

Referenced by AddCamAni(), angle_edge(), cont_point(), cross(), EdgeAttached_vertexfase1(), edv2(), edv3(), edv4(), GenerationEdges_nvertices(), GetNxtVertex(), GetPrvVertex(), MakeEdgeConcaveCorner(), MakeEdgeConvexCorner(), MakeEdgeFlatCorner(), MakingEdges_tables(), MakingVertices_edges(), MSD_determinaDimensaoPrincipal(), MSD_determinaDimensaoPrincipalBarra(), MSD_highRotaciona(), MSD_lowAddEdgeDivision(), MSD_lowAlteraCamera(), MSD_lowBisector(), MSD_lowCheckClipDisplay(), MSD_lowCheckWideness(), MSD_lowClipDisplayTransformation(), MSD_lowCreateAxisRotation(), MSD_lowCreateAxisTranslation(), MSD_lowCriaListaEstudo(), MSD_lowDisplayAllEdges(), MSD_lowDisplayHidden(), MSD_lowDisplayLocalHidden(), MSD_lowEdgeClip(), MSD_lowEdgEdgColinear(), MSD_lowEdgeEdgeIntersection(), MSD_lowEdgVtxIntersection(), MSD_lowFaceBox(), MSD_lowFacFacEqualEqs(), MSD_lowFacFacOppositeEqs(), MSD_lowGreater(), MSD_lowIntersectionCheckStep1(), MSD_lowIntersectionClipDropCoord(), MSD_lowIntersectionFaceEdge(), MSD_lowIntersectionParallelFaces(), MSD_lowIsEdgeVisible(), MSD_lowIsFaceVisible(), MSD_lowLoopArea(), MSD_lowLoopCG(), MSD_lowLooVtxContainment(), MSD_lowMakeNewPoint(), MSD_lowMakeSWEEP(), MSD_lowMakeSweepNew(), MSD_lowNameNCopySolidTranslate(), MSD_lowOrdenaListaEstudo(), MSD_lowPositionalVisibility(), MSD_lowPropriedadeAreaLaco(), MSD_lowSetCamera(), MSD_lowSetCamera3View(), MSD_lowSetEdgeAngle(), MSD_lowSetOpConnect(), MSD_lowSetOpConvexEdge(), MSD_lowSetOpInside(), MSD_lowSetOpNbaPreProcess(), MSD_lowSetOpNbbPreProcess(), MSD_lowSetOpSectorTest(), MSD_lowSetOpSectorWide(), MSD_lowSetOpVFGetNeighborhood(), MSD_lowSetOpVVGetNeighborhood(), MSD_lowSetOpVVReclassifySectors(), MSD_lowSetVariaveisImpressao(), MSD_lowShellBox(), MSD_lowSolidBox(), MSD_lowSolidDimensaoPrincipal(), MSD_lowSortDividedEdge(), MSD_lowVtxFacClassify(), MSD_lowVtxVtxContainment(), and vecmult().

real vecd ( real v1,
real v2 
)

real vecd2 ( real v1,
real v2 
)

real vecdet ( real v1,
real v2,
real v3 
)

int vecequal ( real v1,
real v2 
)

void vecesc ( real v,
real ve,
real  k 
)

real* vecminus ( real res,
real v1,
real v2 
)

void vecmult ( vector  v1,
vector  v2,
matrix  m 
)

int vecnull ( real vec,
real  eps 
)

int vecnull2 ( real vec,
real  eps,
int  drop 
)

real* vecpe ( real vs,
real ve,
real v,
real  k 
)

real* vecplus ( real res,
real v1,
real v2 
)

void vecprint ( vector  v  ) 

Definition at line 600 of file vectorop.cpp.

real* veczer ( real v  ) 


Generated on Tue Feb 26 09:12:51 2008 for USPDesigner by  doxygen 1.5.5