libMVRgdtf 40bc00a
A library for GDTF and MVR
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MCMatrix.cpp File Reference
#include "Prefix/StdAfx.h"
#include "MCCoordTypes.h"
#include "MCMatrix.h"

Macros

#define GS_ASSERTDOUBLEALIGNMENT(p)   DEBUG_DO_NOTHING
 
#define M1   m1.mat
 
#define M2   m2.mat
 
#define EpsilonForCoord(x)   (kNearlyEqualEpsilonForWorldCoords * Fabs(x))
 

Functions

void GS_API MakeXMatrixOrthogonal (TransformXMatrix &mat)
 
void GS_API InverseXPointTransformN (const WorldPt3 &a, const TransformXMatrix &mat, WorldPt3 &b)
 
void BasePointTransformN (const WorldPt3 &a, const TransformMatrix &mat, WorldPt3 &b)
 
bool GetIntersection (WorldCoord fDst1, WorldCoord fDst2, const WorldPt3 &P1, const WorldPt3 &P2, WorldPt3 &Hit)
 
bool InBox (const WorldPt3 &Hit, const WorldPt3 &B1, const WorldPt3 &B2, const int Axis)
 

Macro Definition Documentation

◆ EpsilonForCoord

#define EpsilonForCoord (   x)    (kNearlyEqualEpsilonForWorldCoords * Fabs(x))

◆ GS_ASSERTDOUBLEALIGNMENT

#define GS_ASSERTDOUBLEALIGNMENT (   p)    DEBUG_DO_NOTHING

◆ M1

#define M1   m1.mat

◆ M2

#define M2   m2.mat

Function Documentation

◆ BasePointTransformN()

void BasePointTransformN ( const WorldPt3 a,
const TransformMatrix mat,
WorldPt3 b 
)
inline

◆ GetIntersection()

bool GetIntersection ( WorldCoord  fDst1,
WorldCoord  fDst2,
const WorldPt3 P1,
const WorldPt3 P2,
WorldPt3 Hit 
)
inline

◆ InBox()

bool InBox ( const WorldPt3 Hit,
const WorldPt3 B1,
const WorldPt3 B2,
const int  Axis 
)
inline

◆ InverseXPointTransformN()

void GS_API InverseXPointTransformN ( const WorldPt3 a,
const TransformXMatrix mat,
WorldPt3 b 
)

◆ MakeXMatrixOrthogonal()

void GS_API MakeXMatrixOrthogonal ( TransformXMatrix mat)