ge_math.h File Reference

Namespaces

 maxon
 

Macros

#define GCC34T
 
#define C4D_FOUR_BYTE(x1, x2, x3, x4)
 

Typedefs

typedef UChar PIX
 
typedef UChar PIX_C
 
typedef UInt16 PIX_W
 
typedef Float32 PIX_F
 
typedef maxon::Vec3< maxon::Float32, 1 > Vector32
 
typedef maxon::Vec3< maxon::Float64, 1 > Vector64
 
typedef maxon::Vec3< maxon::Float64, 1 > Vector
 
typedef maxon::Vec2< maxon::Float64, 1 > Vector2d
 
typedef maxon::Vec2< maxon::Float64, 1 > Vector2d64
 
typedef maxon::Mat3< maxon::Vector64Matrix64
 
typedef maxon::Mat3< maxon::Vector32Matrix32
 
typedef maxon::Mat3< maxon::Vector64Matrix
 

Enumerations

enum  _DONTCONSTRUCT { DC }
 
enum  _EMPTYCONSTRUCT { EC }
 

Functions

Bool CompareFloatTolerant (Float32 a, Float32 b)
 
Bool CompareFloatTolerant (Float64 a, Float64 b)
 
Bool CheckFloat (Float32 r)
 
Bool CheckFloat (Float64 r)
 
Float32 RepairFloat (Float32 r)
 
Float64 RepairFloat (Float64 r)
 
maxon::String ToString (const Matrix32 &val, const maxon::FormatStatement *formatStatement, maxon::Bool checkDatatype=false)
 
maxon::String ToString (const Vector32 &val, const maxon::FormatStatement *formatStatement, maxon::Bool checkDatatype=false)
 

Variables

static const maxon::ENUM_DONT_INITIALIZE DONT_INITIALIZE
 

Macro Definition Documentation

◆ GCC34T

#define GCC34T

◆ C4D_FOUR_BYTE

#define C4D_FOUR_BYTE (   x1,
  x2,
  x3,
  x4 
)

Typedef Documentation

◆ PIX

typedef UChar PIX

8-bit integer pixel type.

◆ PIX_C

typedef UChar PIX_C

8-bit integer pixel type.

◆ PIX_W

typedef UInt16 PIX_W

16-bit integer pixel type.

◆ PIX_F

typedef Float32 PIX_F

32-bit float pixel type.

◆ Vector32

Single-Precision Vector. A vector contains three components X, Y and Z

◆ Vector64

Double-Precision Vector. A vector contains three components X, Y and Z

◆ Vector

◆ Vector2d

◆ Vector2d64

◆ Matrix64

◆ Matrix32

◆ Matrix

Enumeration Type Documentation

◆ _DONTCONSTRUCT

Enumerator
DC 

Pass this to invoke the no-op constructor.

◆ _EMPTYCONSTRUCT

Enumerator
EC 

Pass this to invoke the no-op empty constructor.

Function Documentation

◆ ToString() [1/2]

maxon::String ToString ( const Matrix32 val,
const maxon::FormatStatement formatStatement,
maxon::Bool  checkDatatype = false 
)

◆ ToString() [2/2]

maxon::String ToString ( const Vector32 val,
const maxon::FormatStatement formatStatement,
maxon::Bool  checkDatatype = false 
)

Variable Documentation

◆ DONT_INITIALIZE

const maxon::ENUM_DONT_INITIALIZE DONT_INITIALIZE
static