DPOINT3DH Struct Reference

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

#include <mi32/point.h>

List of all members.

Public Member Functions

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

Public Attributes

double w
double x
double y
double z

Detailed Description

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


Constructor & Destructor Documentation

DPOINT3DH::DPOINT3DH (  )  [inline]

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

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.

DPOINT3DH::DPOINT3DH ( const DPOINT3D p  )  [inline]

Initialize from DPOINT3D.


Member Function Documentation

bool DPOINT3DH::Get3D ( DPOINT3D point  )  [inline]

Get not homogeneous 3D point.

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

Multiplication operator.

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

Times equals operator.

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

Addition operator.

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

Plus equals operator.

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

Subtraction operator.

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

Negation operator.

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

Minus equals operator.

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

Division operator.

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

Divided by equals operator.

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

Assignment from FPOINT3DH.

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

Assignment from DPOINT3D.

bool DPOINT3DH::Project (  )  [inline]

Project to plane w = 1.0.


Member Data Documentation

double DPOINT3DH::w
double DPOINT3DH::x
double DPOINT3DH::y
double DPOINT3DH::z

The documentation for this struct was generated from the following file:

Generated on Sun Oct 7 21:33:19 2012 for TNTsdk 2012 by  doxygen 1.6.1