#include <MathClasses.h>


Public Member Functions | |
| Point () | |
| Point (JString xml) | |
| Point (XMLNode *node) | |
| Point (int px, int py, int pz=0, Size psize=Size()) | |
| virtual | ~Point () |
| Object * | clone () const |
| operator PointFloat () const | |
| int | operator[] (int n) const |
| bool | operator== (const Point &p) const |
| bool | operator== (const PointFloat &p) const |
| Point | operator- (const Point &p) const |
| PointFloat | operator- (const PointFloat &p) const |
| Point | operator+ (const Point &p) const |
| PointFloat | operator+ (const PointFloat &p) const |
| Point | operator* (const Point &p) const |
| PointFloat | operator* (const PointFloat &p) const |
| Point | operator- (double a) const |
| Point | operator+ (double a) const |
| Point | operator* (double a) const |
| int | getX () const |
| int | getY () const |
| int | getZ () const |
| Size | getSize () const |
| bool | set (int x, int y, int z=0) |
| bool | setX (int n) |
| bool | setY (int n) |
| bool | setZ (int n) |
| bool | setSize (Size s) |
| double | getDistanceTo (Point &p) const |
| double | getDistanceTo (PointFloat &p) const |
| JString | print () |
| JString | toXML () |
| bool | fromXML (XMLNode *node) |
Public Attributes | |
| int | x |
| int | y |
| int | z |
| Size | size |
Definition at line 87 of file MathClasses.h.
| cmlabs::Point::Point | ( | ) |
Definition at line 113 of file MathClasses.cpp.
| cmlabs::Point::Point | ( | JString | xml | ) |
Definition at line 115 of file MathClasses.cpp.
| cmlabs::Point::Point | ( | XMLNode * | node | ) |
Definition at line 120 of file MathClasses.cpp.
Definition at line 114 of file MathClasses.cpp.
| cmlabs::Point::~Point | ( | ) | [virtual] |
Definition at line 125 of file MathClasses.cpp.
| Object * cmlabs::Point::clone | ( | ) | const [virtual] |
| cmlabs::Point::operator PointFloat | ( | ) | const |
Definition at line 132 of file MathClasses.cpp.
| int cmlabs::Point::operator[] | ( | int | n | ) | const |
Definition at line 141 of file MathClasses.cpp.
| bool cmlabs::Point::operator== | ( | const Point & | p | ) | const |
Definition at line 153 of file MathClasses.cpp.
| bool cmlabs::Point::operator== | ( | const PointFloat & | p | ) | const |
Definition at line 161 of file MathClasses.cpp.
Definition at line 169 of file MathClasses.cpp.
| PointFloat cmlabs::Point::operator- | ( | const PointFloat & | p | ) | const |
Definition at line 176 of file MathClasses.cpp.
Definition at line 183 of file MathClasses.cpp.
| PointFloat cmlabs::Point::operator+ | ( | const PointFloat & | p | ) | const |
Definition at line 190 of file MathClasses.cpp.
Definition at line 197 of file MathClasses.cpp.
| PointFloat cmlabs::Point::operator* | ( | const PointFloat & | p | ) | const |
Definition at line 204 of file MathClasses.cpp.
| Point cmlabs::Point::operator- | ( | double | a | ) | const |
Definition at line 211 of file MathClasses.cpp.
| Point cmlabs::Point::operator+ | ( | double | a | ) | const |
Definition at line 218 of file MathClasses.cpp.
| Point cmlabs::Point::operator* | ( | double | a | ) | const |
Definition at line 225 of file MathClasses.cpp.
| int cmlabs::Point::getX | ( | ) | const |
Definition at line 234 of file MathClasses.cpp.
| int cmlabs::Point::getY | ( | ) | const |
Definition at line 235 of file MathClasses.cpp.
| int cmlabs::Point::getZ | ( | ) | const |
Definition at line 236 of file MathClasses.cpp.
| Size cmlabs::Point::getSize | ( | ) | const |
Definition at line 237 of file MathClasses.cpp.
| bool cmlabs::Point::set | ( | int | x, | |
| int | y, | |||
| int | z = 0 | |||
| ) |
Definition at line 239 of file MathClasses.cpp.
| bool cmlabs::Point::setX | ( | int | n | ) |
Definition at line 240 of file MathClasses.cpp.
| bool cmlabs::Point::setY | ( | int | n | ) |
Definition at line 241 of file MathClasses.cpp.
| bool cmlabs::Point::setZ | ( | int | n | ) |
Definition at line 242 of file MathClasses.cpp.
| bool cmlabs::Point::setSize | ( | Size | s | ) |
Definition at line 243 of file MathClasses.cpp.
| double cmlabs::Point::getDistanceTo | ( | Point & | p | ) | const |
Definition at line 245 of file MathClasses.cpp.
| double cmlabs::Point::getDistanceTo | ( | PointFloat & | p | ) | const |
Definition at line 248 of file MathClasses.cpp.
| JString cmlabs::Point::print | ( | ) | [virtual] |
| JString cmlabs::Point::toXML | ( | ) | [virtual] |
| bool cmlabs::Point::fromXML | ( | XMLNode * | node | ) | [virtual] |
| int cmlabs::Point::x |
Definition at line 99 of file MathClasses.h.
| int cmlabs::Point::y |
Definition at line 100 of file MathClasses.h.
| int cmlabs::Point::z |
Definition at line 101 of file MathClasses.h.
Definition at line 102 of file MathClasses.h.
1.5.6