DPOINT3DH Struct Reference

3D homogeneous point using 64-bit 'double' coordinates. More...

#include <point.h>

List of all members.

Public Member Functions

 DPOINT3DH ()
 DPOINT3DH (const double dx, const double dy, const double dz, const double dw=1.0)
 DPOINT3DH (const DPOINT3D &p)
DPOINT3DHoperator= (const DPOINT3D &rhs)
DPOINT3DHoperator= (const FPOINT3DH &rhs)
DPOINT3DH operator- () const
DPOINT3DH operator+ (const DPOINT3DH &rhs) const
DPOINT3DH operator- (const DPOINT3DH &rhs) const
DPOINT3DH operator * (const double rhs) const
DPOINT3DH operator/ (const double rhs) const
DPOINT3DH operator+= (const DPOINT3DH &rhs)
DPOINT3DH operator-= (const DPOINT3DH &rhs)
DPOINT3DH operator *= (const double rhs)
DPOINT3DH operator/= (const double rhs)
bool Get3D (DPOINT3D &point)
bool Project ()
 CHECKSIZE (32)

Public Attributes

double x
double y
double z
double w


Detailed Description

3D homogeneous point using 64-bit 'double' coordinates.

Definition at line 1202 of file point.h.


Constructor & Destructor Documentation

DPOINT3DH::DPOINT3DH  )  [inline]
 

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

Definition at line 1210 of file point.h.

DPOINT3DH::DPOINT3DH const double  dx,
const double  dy,
const double  dz,
const double  dw = 1.0
[inline]
 

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

Definition at line 1214 of file point.h.

DPOINT3DH::DPOINT3DH const DPOINT3D p  )  [inline]
 

Initialize from DPOINT3D.

Definition at line 1222 of file point.h.


Member Function Documentation

DPOINT3DH::CHECKSIZE 32   ) 
 

Make compiler validate structure size.

bool DPOINT3DH::Get3D DPOINT3D point  )  [inline]
 

Get not homogeneous 3D point.

Definition at line 1281 of file point.h.

DPOINT3DH DPOINT3DH::operator * const double  rhs  )  const [inline]
 

Multiplication operator.

Definition at line 1251 of file point.h.

DPOINT3DH DPOINT3DH::operator *= const double  rhs  )  [inline]
 

Times equals operator.

Definition at line 1271 of file point.h.

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

Addition operator.

Definition at line 1241 of file point.h.

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

Plus equals operator.

Definition at line 1261 of file point.h.

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

Subtraction operator.

Definition at line 1246 of file point.h.

DPOINT3DH DPOINT3DH::operator-  )  const [inline]
 

Negation operator.

Definition at line 1237 of file point.h.

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

Minus equals operator.

Definition at line 1266 of file point.h.

DPOINT3DH DPOINT3DH::operator/ const double  rhs  )  const [inline]
 

Division operator.

Definition at line 1256 of file point.h.

DPOINT3DH DPOINT3DH::operator/= const double  rhs  )  [inline]
 

Divided by equals operator.

Definition at line 1276 of file point.h.

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

Assignment from FPOINT3DH.

Definition at line 1232 of file point.h.

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

Assignment from DPOINT3D.

Definition at line 1227 of file point.h.

bool DPOINT3DH::Project  )  [inline]
 

Project to plane w = 1.0.

Definition at line 1292 of file point.h.


Member Data Documentation

double DPOINT3DH::w
 

Definition at line 1207 of file point.h.

double DPOINT3DH::x
 

Definition at line 1204 of file point.h.

double DPOINT3DH::y
 

Definition at line 1205 of file point.h.

double DPOINT3DH::z
 

Definition at line 1206 of file point.h.


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