#include <geometry.h>


Definition at line 97 of file geometry.h.
Public Member Functions | |
| Position (double cx=.0, double cy=.0, double cangle=.0) | |
| Position (const Point &p, double cangle=.0) | |
| Position (const Position &p) | |
| Position & | operator= (const Position &p) |
| virtual | ~Position () |
| std::ostream & | Write (std::ostream &str) const |
| double | Distance (const Point &p, int sign=1) const |
Public Attributes | |
| double | angle |
| Orientation angle. | |
| double | x |
| X coord. | |
| double | y |
| Y coord. | |
Friends | |
| std::ostream & | operator<< (std::ostream &output, const struct Position &rhs) |
| std::istream & | operator>> (std::istream &input, struct Position &rhs) |
| std::ostream & | operator<< (std::ostream &output, const struct Point &rhs) |
| std::istream & | operator>> (std::istream &input, struct Point &rhs) |
| bool | operator== (const Point &lhs, const Point &rhs) |
| Position | ( | double | cx = .0, |
|
| double | cy = .0, |
|||
| double | cangle = .0 | |||
| ) | [inline] |
Definition at line 99 of file geometry.h.
Definition at line 103 of file geometry.h.
Definition at line 107 of file geometry.h.
| virtual ~Position | ( | ) | [inline, virtual] |
Definition at line 144 of file geometry.h.
Definition at line 111 of file geometry.h.
References angle, and Point::operator=().

| std::ostream& Write | ( | std::ostream & | str | ) | const [inline, inherited] |
| double Distance | ( | const Point & | p, | |
| int | sign = 1 | |||
| ) | const [inherited] |
Euclidean point distance
| std::ostream& operator<< | ( | std::ostream & | output, | |
| const struct Position & | rhs | |||
| ) | [friend] |
Definition at line 130 of file geometry.h.
| std::istream& operator>> | ( | std::istream & | input, | |
| struct Position & | rhs | |||
| ) | [friend] |
Definition at line 138 of file geometry.h.
| std::ostream& operator<< | ( | std::ostream & | output, | |
| const struct Point & | rhs | |||
| ) | [friend, inherited] |
Definition at line 56 of file geometry.h.
| std::istream& operator>> | ( | std::istream & | input, | |
| struct Point & | rhs | |||
| ) | [friend, inherited] |
Definition at line 65 of file geometry.h.
Definition at line 71 of file geometry.h.
| double angle |
Orientation angle.
Definition at line 147 of file geometry.h.
Referenced by operator=(), readCoreInfo(), and Arena::Private::render().
double x [inherited] |
X coord.
Definition at line 32 of file geometry.h.
Referenced by Arena::Arena(), Arena::Private::cToA(), Point::operator=(), readCoreInfo(), Vector::Vector(), and Point::Write().
double y [inherited] |
Y coord.
Definition at line 34 of file geometry.h.
Referenced by Arena::Arena(), Arena::Private::cToA(), Point::operator=(), readCoreInfo(), Vector::Vector(), and Point::Write().
1.5.4