FPOINT3DH Struct Reference

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

#include <point.h>

List of all members.

Public Member Functions

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

Public Attributes

float x
float y
float z
float w


Detailed Description

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

Definition at line 1094 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 1102 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 1106 of file point.h.

FPOINT3DH::FPOINT3DH const FPOINT3D p  )  [inline]
 

Initialize from FPOINT3D.

Definition at line 1114 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 1173 of file point.h.

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

Multiplication operator.

Definition at line 1143 of file point.h.

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

Times equals operator.

Definition at line 1163 of file point.h.

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

Addition operator.

Definition at line 1133 of file point.h.

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

Plus equals operator.

Definition at line 1153 of file point.h.

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

Subtraction operator.

Definition at line 1138 of file point.h.

FPOINT3DH FPOINT3DH::operator-  )  const [inline]
 

Negation operator.

Definition at line 1129 of file point.h.

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

Minus equals operator.

Definition at line 1158 of file point.h.

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

Division operator.

Definition at line 1148 of file point.h.

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

Divided by equals operator.

Definition at line 1168 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 1119 of file point.h.

bool FPOINT3DH::Project  )  [inline]
 

Project to plane w = 1.0.

Definition at line 1184 of file point.h.


Member Data Documentation

float FPOINT3DH::w
 

Definition at line 1099 of file point.h.

float FPOINT3DH::x
 

Definition at line 1096 of file point.h.

float FPOINT3DH::y
 

Definition at line 1097 of file point.h.

float FPOINT3DH::z
 

Definition at line 1098 of file point.h.


The documentation for this struct was generated from the following file:
Generated on Thu Aug 12 06:26:21 2004 for TNTsdk by doxygen 1.3.4-20031026