#include <point.hh>
Inheritance diagram for anoid::simple::Point:


Public Methods | |
| Point (double getx=0, double gety=0, double getz=0) | |
| double | getX (void) const |
| double | getY (void) const |
| double | getZ (void) const |
| void | setX (double getx) |
| void | setY (double gety) |
| void | setZ (double getz) |
| void | addX (double getx) |
| void | addY (double gety) |
| void | addZ (double getz) |
Protected Attributes | |
| double | x |
| double | y |
| double | z |
|
||||||||||||||||
|
Constructor Constructs a point with 3 coordinates
|
|
|
addX adds getx to 1st coordinate
Definition at line 33 of file point.cc. References x. |
|
|
addY adds gety to 2nd coordinate
Definition at line 37 of file point.cc. References y. |
|
|
addZ adds getz to 3rd coordinate
Definition at line 41 of file point.cc. References z. |
|
|
getX returns the 1st coordinate of the point
Definition at line 9 of file point.cc. References x. Referenced by ASC::ASC(), anoid::plugin::SpinVelocity::init(), anoid::plugin::AscShape::init(), anoid::simple::Matrix::Matrix(), anoid::plugin::Color::redraw(), and tilde(). |
|
|
getY returns the 2nd coordinate of the point
Definition at line 13 of file point.cc. References y. Referenced by ASC::ASC(), anoid::plugin::SpinVelocity::init(), anoid::plugin::AscShape::init(), anoid::simple::Matrix::Matrix(), anoid::plugin::Color::redraw(), and tilde(). |
|
|
getZ returns 3rd coordinate of the point
Definition at line 17 of file point.cc. References z. Referenced by ASC::ASC(), anoid::plugin::SpinVelocity::init(), anoid::plugin::AscShape::init(), anoid::simple::Matrix::Matrix(), anoid::plugin::Color::redraw(), and tilde(). |
|
|
setX sets 1st coordinate to getx
Definition at line 21 of file point.cc. References x. Referenced by ASC::ASC(), and anoid::plugin::SpinVelocity::init(). |
|
|
setY sets 2nd coordinate to gety
Definition at line 25 of file point.cc. References y. Referenced by ASC::ASC(), and anoid::plugin::SpinVelocity::init(). |
|
|
setZ sets 3rd coordinate to getz
Definition at line 29 of file point.cc. References z. Referenced by ASC::ASC(), and anoid::plugin::SpinVelocity::init(). |
|
|
|