#include <Point.h>

Public Member Functions | |
| double | getX () const |
| The following function returns the X coordinate. | |
| double | getY () const |
| The following function returns the Y coordinate. | |
| double | getZ () const |
| The following function returns the Z coordinate. | |
| void | moveBy (double x, double y) |
| Moves the point by specified amount. | |
| Point (double x=0.0, double y=0.0, double z=0.0) | |
| void | setPoint (double x, double y, double z) |
| void | setPoint (double x, double y) |
| void | setZ (double) |
| Sets the Z component of the Rectangle. | |
Private Attributes | |
| double | m_x |
| double | m_y |
| double | m_z |
Definition at line 25 of file Point.h.
| double getX | ( | ) | const [inline] |
The following function returns the X coordinate.
Definition at line 59 of file Point.h.
References Point::m_x.
Referenced by LinePointRep::addEndPoints(), LinePointRep::cornerCase(), Rect::getX(), Rect::makeInBounds(), and LinePointRep::separation().
| double getY | ( | ) | const [inline] |
The following function returns the Y coordinate.
Definition at line 67 of file Point.h.
References Point::m_y.
Referenced by LinePointRep::addEndPoints(), LinePointRep::cornerCase(), Rect::getY(), Rect::makeInBounds(), and LinePointRep::separation().
| double getZ | ( | ) | const [inline] |
The following function returns the Z coordinate.
Definition at line 74 of file Point.h.
References Point::m_z.
Referenced by Rect::getZ(), Rect::isInDepth(), and Rect::makeInBounds().
| void moveBy | ( | double | x, | |
| double | y | |||
| ) |
Moves the point by specified amount.
Definition at line 30 of file Point.cxx.
References Point::m_x, and Point::m_y.
Referenced by Rect::moveBy().
| void setPoint | ( | double | x, | |
| double | y, | |||
| double | z | |||
| ) |
| void setPoint | ( | double | x, | |
| double | y | |||
| ) |
Definition at line 19 of file Point.cxx.
References Point::m_x, and Point::m_y.
Referenced by LinePointRep::findEndPoints(), Rect::setRect(), LinePointRep::straddles_x_boundary(), and LinePointRep::straddles_y_boundary().
| void setZ | ( | double | z | ) |
Sets the Z component of the Rectangle.
Definition at line 36 of file Point.cxx.
References Point::m_z.
Referenced by Rect::setZ().
double m_x [private] |
Definition at line 28 of file Point.h.
Referenced by Point::getX(), Point::moveBy(), and Point::setPoint().
double m_y [private] |
Definition at line 29 of file Point.h.
Referenced by Point::getY(), Point::moveBy(), and Point::setPoint().
double m_z [private] |
Definition at line 30 of file Point.h.
Referenced by Point::getZ(), Point::setPoint(), and Point::setZ().