#include <MathClasses.h>
Public Member Functions | |
PointFloat () | |
PointFloat (JString xml) | |
PointFloat (XMLNode *node) | |
PointFloat (double px, double py, double pz=0, Size psize=Size()) | |
virtual | ~PointFloat () |
Object * | clone () 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 |
Definition at line 141 of file MathClasses.h.
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.
Definition at line 290 of file MathClasses.cpp.
cmlabs::PointFloat::~PointFloat | ( | ) | [virtual] |
Definition at line 301 of file MathClasses.cpp.
Object * cmlabs::PointFloat::clone | ( | ) | const [virtual] |
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] |
JString cmlabs::PointFloat::toXML | ( | ) | [virtual] |
bool cmlabs::PointFloat::fromXML | ( | XMLNode * | node | ) | [virtual] |
double cmlabs::PointFloat::x |
Definition at line 153 of file MathClasses.h.
double cmlabs::PointFloat::y |
Definition at line 154 of file MathClasses.h.
double cmlabs::PointFloat::z |
Definition at line 155 of file MathClasses.h.
Definition at line 156 of file MathClasses.h.