Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

math3dutils.h File Reference

#include "oaw/misc/vectorc.h"
#include "oaw/misc/matrixc.h"
#include "../oawconfig.h"

Include dependency graph for math3dutils.h:

Include dependency graph

Go to the source code of this file.

Defines

#define PI   3.1415926535897932384626433832795

Functions

OAW_BEGIN_NAMESPACE OAW_DLLMAPPING
Vector4C 
MultRotations (const Vector4C &a, const Vector4C &b)
OAW_DLLMAPPING double GetAngle2D (double x, double y)
OAW_DLLMAPPING VectorC CalcLinearDecomposition (VectorC p, VectorC p1, VectorC p2, VectorC p3)
OAW_DLLMAPPING Vector2C MapTexCoord (VectorC v, VectorC p1, VectorC p2, VectorC p3, Vector2C tp1, Vector2C tp2, Vector2C tp3)
OAW_DLLMAPPING Vector3C MapNormal (VectorC v, VectorC p1, VectorC p2, VectorC p3, VectorC n1, VectorC n2, VectorC n3)
OAW_DLLMAPPING short IsectLineSphere (VectorC startP, const VectorC &endP, const VectorC &sphereCenter, double radius, VectorC &isect1, double &t1, VectorC &isect2, double &t2)
OAW_DLLMAPPING int IsectLineSphere (const VectorC &a, const VectorC &e, double r, VectorC *pSec1, VectorC *pSec2)
OAW_DLLMAPPING short IsectLineTriangle (short cull, short ccw, VectorC startP, const VectorC &endP, const VectorC &p1, const VectorC &p2, const VectorC &p3, VectorC &isect, double &)
OAW_DLLMAPPING short IsectLineTriangleP (short bfcull, short ccw, VectorC &startP, const VectorC &endP, double *p1, double *p2, double *p3, VectorC &isect, double &)
OAW_DLLMAPPING short IsectLineTriangleP (short bfcull, short ccw, VectorC &startP, const VectorC &endP, float *p1, float *p2, float *p3, VectorC &isect, double &)
OAW_DLLMAPPING short IsectLineTrianglePP (short cull, VectorC &startP, const VectorC &endP, float *p1, float *p2, float *p3, VectorC &isect, double &)
OAW_DLLMAPPING short IsectLineWithBox (VectorC startP, VectorC endP, const VectorC &boxCenter, const VectorC &boxSize, double &t, VectorC &s, VectorC &n)
OAW_DLLMAPPING int IsectLineEllipse (const VectorC &a, const VectorC &u, double A, double B, double C, VectorC *pSec1, VectorC *pSec2)
OAW_DLLMAPPING short IsectLineCylinder (const VectorC &vStart, const VectorC &u, const VectorC &vCenter, double fHeight, double fRadius, short bTop=1, short bSide=1, short bBottom=1, VectorC *pSec=0)
OAW_DLLMAPPING short IsectLineCone (const VectorC &vStart, const VectorC &vEnd, const VectorC &vCenter, double fHeight, double fRadius, short bBottom=1, short bSide=1, VectorC *pSec=0)
OAW_DLLMAPPING short PointIsInBox (VectorC p, const VectorC &boxCenter, const VectorC &boxSize)


Define Documentation

#define PI   3.1415926535897932384626433832795
 

Definition at line 7 of file math3dutils.h.


Function Documentation

OAW_DLLMAPPING VectorC CalcLinearDecomposition VectorC    p,
VectorC    p1,
VectorC    p2,
VectorC    p3
 

OAW_DLLMAPPING double GetAngle2D double    x,
double    y
 

OAW_DLLMAPPING short IsectLineCone const VectorC   vStart,
const VectorC   vEnd,
const VectorC   vCenter,
double    fHeight,
double    fRadius,
short    bBottom = 1,
short    bSide = 1,
VectorC   pSec = 0
 

OAW_DLLMAPPING short IsectLineCylinder const VectorC   vStart,
const VectorC   u,
const VectorC   vCenter,
double    fHeight,
double    fRadius,
short    bTop = 1,
short    bSide = 1,
short    bBottom = 1,
VectorC   pSec = 0
 

OAW_DLLMAPPING int IsectLineEllipse const VectorC   a,
const VectorC   u,
double    A,
double    B,
double    C,
VectorC   pSec1,
VectorC   pSec2
 

OAW_DLLMAPPING int IsectLineSphere const VectorC   a,
const VectorC   e,
double    r,
VectorC   pSec1,
VectorC   pSec2
 

OAW_DLLMAPPING short IsectLineSphere VectorC    startP,
const VectorC   endP,
const VectorC   sphereCenter,
double    radius,
VectorC   isect1,
double &    t1,
VectorC   isect2,
double &    t2
 

OAW_DLLMAPPING short IsectLineTriangle short    cull,
short    ccw,
VectorC    startP,
const VectorC   endP,
const VectorC   p1,
const VectorC   p2,
const VectorC   p3,
VectorC   isect,
double &   
 

OAW_DLLMAPPING short IsectLineTriangleP short    bfcull,
short    ccw,
VectorC   startP,
const VectorC   endP,
float *    p1,
float *    p2,
float *    p3,
VectorC   isect,
double &   
 

OAW_DLLMAPPING short IsectLineTriangleP short    bfcull,
short    ccw,
VectorC   startP,
const VectorC   endP,
double *    p1,
double *    p2,
double *    p3,
VectorC   isect,
double &   
 

OAW_DLLMAPPING short IsectLineTrianglePP short    cull,
VectorC   startP,
const VectorC   endP,
float *    p1,
float *    p2,
float *    p3,
VectorC   isect,
double &   
 

OAW_DLLMAPPING short IsectLineWithBox VectorC    startP,
VectorC    endP,
const VectorC   boxCenter,
const VectorC   boxSize,
double &    t,
VectorC   s,
VectorC   n
 

OAW_DLLMAPPING Vector3C MapNormal VectorC    v,
VectorC    p1,
VectorC    p2,
VectorC    p3,
VectorC    n1,
VectorC    n2,
VectorC    n3
 

OAW_DLLMAPPING Vector2C MapTexCoord VectorC    v,
VectorC    p1,
VectorC    p2,
VectorC    p3,
Vector2C    tp1,
Vector2C    tp2,
Vector2C    tp3
 

OAW_BEGIN_NAMESPACE OAW_DLLMAPPING Vector4C MultRotations const Vector4C   a,
const Vector4C   b
 

OAW_DLLMAPPING short PointIsInBox VectorC    p,
const VectorC   boxCenter,
const VectorC   boxSize
 


Generated on Tue Jul 29 14:26:31 2003 for Open ActiveWrl by doxygen1.3-rc2