FPOINT3DH Struct Reference

3D homogeneous point using 32-bit 'float' coordinates. More...

#include <mi32/point.h>

List of all members.

Public Member Functions

 CHECKSIZE (16)
 FPOINT3DH (const FPOINT3D &p)
 FPOINT3DH (const float dx, const float dy, const float dz, const float dw=1.0f)
 FPOINT3DH ()
bool Get3D (FPOINT3D &point)
FPOINT3DH operator * (const float rhs) const
FPOINT3DH operator *= (const float rhs)
FPOINT3DH operator+ (const FPOINT3DH &rhs) const
FPOINT3DH operator+= (const FPOINT3DH &rhs)
FPOINT3DH operator- (const FPOINT3DH &rhs) const
FPOINT3DH operator- () const
FPOINT3DH operator-= (const FPOINT3DH &rhs)
FPOINT3DH operator/ (const float rhs) const
FPOINT3DH operator/= (const float rhs)
FPOINT3DHoperator= (const DPOINT3DH &rhs)
FPOINT3DHoperator= (const FPOINT3D &rhs)
bool Project ()

Public Attributes

float w
float x
float y
float z


Detailed Description

3D homogeneous point using 32-bit 'float' coordinates.

Definition at line 1169 of file point.h.


Constructor & Destructor Documentation

FPOINT3DH::FPOINT3DH  )  [inline]
 

Default constructor initialize with (0.0, 0.0, 0.0, 1.0).

Definition at line 1177 of file point.h.

FPOINT3DH::FPOINT3DH const float  dx,
const float  dy,
const float  dz,
const float  dw = 1.0f
[inline]
 

Initialize from separate X, Y, Z, W values.

Definition at line 1181 of file point.h.

FPOINT3DH::FPOINT3DH const FPOINT3D p  )  [inline]
 

Initialize from FPOINT3D.

Definition at line 1189 of file point.h.


Member Function Documentation

FPOINT3DH::CHECKSIZE 16   ) 
 

Make compiler validate structure size.

bool FPOINT3DH::Get3D FPOINT3D point  )  [inline]
 

Get not homogeneous 3D point.

Definition at line 1248 of file point.h.

FPOINT3DH FPOINT3DH::operator * const float  rhs  )  const [inline]
 

Multiplication operator.

Definition at line 1218 of file point.h.

FPOINT3DH FPOINT3DH::operator *= const float  rhs  )  [inline]
 

Times equals operator.

Definition at line 1238 of file point.h.

FPOINT3DH FPOINT3DH::operator+ const FPOINT3DH rhs  )  const [inline]
 

Addition operator.

Definition at line 1208 of file point.h.

FPOINT3DH FPOINT3DH::operator+= const FPOINT3DH rhs  )  [inline]
 

Plus equals operator.

Definition at line 1228 of file point.h.

FPOINT3DH FPOINT3DH::operator- const FPOINT3DH rhs  )  const [inline]
 

Subtraction operator.

Definition at line 1213 of file point.h.

FPOINT3DH FPOINT3DH::operator-  )  const [inline]
 

Negation operator.

Definition at line 1204 of file point.h.

FPOINT3DH FPOINT3DH::operator-= const FPOINT3DH rhs  )  [inline]
 

Minus equals operator.

Definition at line 1233 of file point.h.

FPOINT3DH FPOINT3DH::operator/ const float  rhs  )  const [inline]
 

Division operator.

Definition at line 1223 of file point.h.

FPOINT3DH FPOINT3DH::operator/= const float  rhs  )  [inline]
 

Divided by equals operator.

Definition at line 1243 of file point.h.

FPOINT3DH& FPOINT3DH::operator= const DPOINT3DH rhs  )  [inline]
 

Assignment from DPOINT3DH.

FPOINT3DH& FPOINT3DH::operator= const FPOINT3D rhs  )  [inline]
 

Assignment from FPOINT3D.

Definition at line 1194 of file point.h.

bool FPOINT3DH::Project  )  [inline]
 

Project to plane w = 1.0.

Definition at line 1259 of file point.h.


Member Data Documentation

float FPOINT3DH::w
 

Definition at line 1174 of file point.h.

float FPOINT3DH::x
 

Definition at line 1171 of file point.h.

float FPOINT3DH::y
 

Definition at line 1172 of file point.h.

float FPOINT3DH::z
 

Definition at line 1173 of file point.h.


The documentation for this struct was generated from the following file:
Generated on Tue Dec 14 13:19:45 2004 for TNTsdk by  doxygen 1.3.8-20040913