basegfx::B3DPoint Class Reference

Base Point class with three double values. More...

#include <b3dpoint.hxx>

Inheritance diagram for basegfx::B3DPoint:

Inheritance graph
[legend]
Collaboration diagram for basegfx::B3DPoint:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 B3DPoint ()
 Create a 3D Point.
 B3DPoint (double fX, double fY, double fZ)
 Create a 3D Point.
 B3DPoint (const B3DPoint &rVec)
 Create a copy of a 3D Point.
 B3DPoint (const ::basegfx::B3DTuple &rTuple)
 constructor with tuple to allow copy-constructing from B3DTuple-based classes
 ~B3DPoint ()
B3DPointoperator*= (const B3DPoint &rPnt)
 *=operator to allow usage from B3DPoint, too
B3DPointoperator*= (double t)
 *=operator to allow usage from B3DPoint, too
B3DPointoperator= (const ::basegfx::B3DTuple &rVec)
 assignment operator to allow assigning the results of B3DTuple calculations
B3DPointoperator*= (const ::basegfx::B3DHomMatrix &rMat)
 Transform point by given transformation matrix.

Static Public Member Functions

static const B3DPointgetEmptyPoint ()


Detailed Description

Base Point class with three double values.

This class derives all operators and common handling for a 3D data class from B3DTuple. All necessary extensions which are special for points will be added here.

See also:
B3DTuple

Definition at line 46 of file b3dpoint.hxx.


Constructor & Destructor Documentation

basegfx::B3DPoint::B3DPoint (  )  [inline]

Create a 3D Point.

The point is initialized to (0.0, 0.0, 0.0)

Definition at line 53 of file b3dpoint.hxx.

basegfx::B3DPoint::B3DPoint ( double  fX,
double  fY,
double  fZ 
) [inline]

Create a 3D Point.

Parameters:
fX This parameter is used to initialize the X-coordinate of the 3D Point.
fY This parameter is used to initialize the Y-coordinate of the 3D Point.
fZ This parameter is used to initialize the Z-coordinate of the 3D Point.

Definition at line 71 of file b3dpoint.hxx.

basegfx::B3DPoint::B3DPoint ( const B3DPoint rVec  )  [inline]

Create a copy of a 3D Point.

Parameters:
rVec The 3D Point which will be copied.

Definition at line 80 of file b3dpoint.hxx.

basegfx::B3DPoint::B3DPoint ( const ::basegfx::B3DTuple rTuple  )  [inline]

constructor with tuple to allow copy-constructing from B3DTuple-based classes

Definition at line 87 of file b3dpoint.hxx.

basegfx::B3DPoint::~B3DPoint (  )  [inline]

Definition at line 91 of file b3dpoint.hxx.


Member Function Documentation

B3DPoint& basegfx::B3DPoint::operator*= ( const B3DPoint rPnt  )  [inline]

*=operator to allow usage from B3DPoint, too

Definition at line 96 of file b3dpoint.hxx.

References basegfx::B3DTuple::mfX, basegfx::B3DTuple::mfY, and basegfx::B3DTuple::mfZ.

B3DPoint& basegfx::B3DPoint::operator*= ( double  t  )  [inline]

*=operator to allow usage from B3DPoint, too

Reimplemented from basegfx::B3DTuple.

Definition at line 106 of file b3dpoint.hxx.

References basegfx::B3DTuple::mfX, basegfx::B3DTuple::mfY, and basegfx::B3DTuple::mfZ.

B3DPoint& basegfx::B3DPoint::operator= ( const ::basegfx::B3DTuple rVec  )  [inline]

assignment operator to allow assigning the results of B3DTuple calculations

Definition at line 117 of file b3dpoint.hxx.

References basegfx::B3DTuple::mfX, basegfx::B3DTuple::mfY, and basegfx::B3DTuple::mfZ.

B3DPoint & basegfx::B3DPoint::operator*= ( const ::basegfx::B3DHomMatrix rMat  ) 

Transform point by given transformation matrix.

The translational components of the matrix are, in contrast to B3DVector, applied.

Definition at line 36 of file b3dpoint.cxx.

References basegfx::tools::equal(), basegfx::fTools::equalZero(), basegfx::B3DTuple::mfX, basegfx::B3DTuple::mfY, and basegfx::B3DTuple::mfZ.

static const B3DPoint& basegfx::B3DPoint::getEmptyPoint (  )  [inline, static]

Definition at line 132 of file b3dpoint.hxx.

References basegfx::B3DTuple::getEmptyTuple().


The documentation for this class was generated from the following files:

Generated on Thu Apr 29 13:57:18 2010 for ooo-build Module basegfx (ooo/OOO320_m15) by  doxygen 1.5.6