cmlabs::PointFloat Class Reference

#include <MathClasses.h>

Inheritance diagram for cmlabs::PointFloat:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::PointFloat:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PointFloat ()
 PointFloat (JString xml)
 PointFloat (XMLNode *node)
 PointFloat (double px, double py, double pz=0, Size psize=Size())
virtual ~PointFloat ()
Objectclone () const
 operator Point () const
double operator[] (int n) const
bool operator== (const Point &p) const
bool operator== (const PointFloat &p) const
PointFloat operator- (const Point &p) const
PointFloat operator- (const PointFloat &p) const
PointFloat operator+ (const Point &p) const
PointFloat operator+ (const PointFloat &p) const
PointFloat operator* (const Point &p) const
PointFloat operator* (const PointFloat &p) const
PointFloat operator- (double a) const
PointFloat operator+ (double a) const
PointFloat operator* (double a) const
double getX () const
double getY () const
double getZ () const
Size getSize () const
bool set (double x, double y, double z=0)
bool setX (double v)
bool setY (double v)
bool setZ (double v)
bool setSize (Size s)
double getDistanceTo (const Point &p) const
double getDistanceTo (const PointFloat &p) const
JString print ()
JString toXML ()
bool fromXML (XMLNode *node)

Public Attributes

double x
double y
double z
Size size


Detailed Description

Definition at line 141 of file MathClasses.h.


Constructor & Destructor Documentation

cmlabs::PointFloat::PointFloat (  ) 

Definition at line 289 of file MathClasses.cpp.

cmlabs::PointFloat::PointFloat ( JString  xml  ) 

Definition at line 291 of file MathClasses.cpp.

cmlabs::PointFloat::PointFloat ( XMLNode node  ) 

Definition at line 296 of file MathClasses.cpp.

cmlabs::PointFloat::PointFloat ( double  px,
double  py,
double  pz = 0,
Size  psize = Size() 
)

Definition at line 290 of file MathClasses.cpp.

cmlabs::PointFloat::~PointFloat (  )  [virtual]

Definition at line 301 of file MathClasses.cpp.


Member Function Documentation

Object * cmlabs::PointFloat::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 303 of file MathClasses.cpp.

cmlabs::PointFloat::operator Point (  )  const

Definition at line 308 of file MathClasses.cpp.

double cmlabs::PointFloat::operator[] ( int  n  )  const

Definition at line 317 of file MathClasses.cpp.

bool cmlabs::PointFloat::operator== ( const Point p  )  const

Definition at line 329 of file MathClasses.cpp.

bool cmlabs::PointFloat::operator== ( const PointFloat p  )  const

Definition at line 337 of file MathClasses.cpp.

PointFloat cmlabs::PointFloat::operator- ( const Point p  )  const

Definition at line 345 of file MathClasses.cpp.

PointFloat cmlabs::PointFloat::operator- ( const PointFloat p  )  const

Definition at line 352 of file MathClasses.cpp.

PointFloat cmlabs::PointFloat::operator+ ( const Point p  )  const

Definition at line 359 of file MathClasses.cpp.

PointFloat cmlabs::PointFloat::operator+ ( const PointFloat p  )  const

Definition at line 366 of file MathClasses.cpp.

PointFloat cmlabs::PointFloat::operator* ( const Point p  )  const

Definition at line 373 of file MathClasses.cpp.

PointFloat cmlabs::PointFloat::operator* ( const PointFloat p  )  const

Definition at line 380 of file MathClasses.cpp.

PointFloat cmlabs::PointFloat::operator- ( double  a  )  const

Definition at line 387 of file MathClasses.cpp.

PointFloat cmlabs::PointFloat::operator+ ( double  a  )  const

Definition at line 394 of file MathClasses.cpp.

PointFloat cmlabs::PointFloat::operator* ( double  a  )  const

Definition at line 401 of file MathClasses.cpp.

double cmlabs::PointFloat::getX (  )  const

Definition at line 409 of file MathClasses.cpp.

double cmlabs::PointFloat::getY (  )  const

Definition at line 410 of file MathClasses.cpp.

double cmlabs::PointFloat::getZ (  )  const

Definition at line 411 of file MathClasses.cpp.

Size cmlabs::PointFloat::getSize (  )  const

Definition at line 412 of file MathClasses.cpp.

bool cmlabs::PointFloat::set ( double  x,
double  y,
double  z = 0 
)

Definition at line 414 of file MathClasses.cpp.

bool cmlabs::PointFloat::setX ( double  v  ) 

Definition at line 415 of file MathClasses.cpp.

bool cmlabs::PointFloat::setY ( double  v  ) 

Definition at line 416 of file MathClasses.cpp.

bool cmlabs::PointFloat::setZ ( double  v  ) 

Definition at line 417 of file MathClasses.cpp.

bool cmlabs::PointFloat::setSize ( Size  s  ) 

Definition at line 418 of file MathClasses.cpp.

double cmlabs::PointFloat::getDistanceTo ( const Point p  )  const

Definition at line 420 of file MathClasses.cpp.

double cmlabs::PointFloat::getDistanceTo ( const PointFloat p  )  const

Definition at line 423 of file MathClasses.cpp.

JString cmlabs::PointFloat::print (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 427 of file MathClasses.cpp.

JString cmlabs::PointFloat::toXML (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 434 of file MathClasses.cpp.

bool cmlabs::PointFloat::fromXML ( XMLNode node  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 437 of file MathClasses.cpp.


Member Data Documentation

Definition at line 153 of file MathClasses.h.

Definition at line 154 of file MathClasses.h.

Definition at line 155 of file MathClasses.h.

Definition at line 156 of file MathClasses.h.


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

Generated on Tue Jul 7 16:22:59 2009 for CoreLibrary by  doxygen 1.5.6