#include <Shape.h>
Inheritance diagram for tagGame::Shape:


Public Member Functions | |
| RealVec const & | getPosition () const |
| void | setPosition (RealVec const &position) |
| RealVec const & | getOrientation () const |
| void | setOrientation (RealVec const &orientation) |
| virtual std::ostream & | output (std::ostream &out) const =0 |
| bool | isTouching (Shape const &o) const |
| virtual RealVec | nearestIntersection (RealVec const &p, RealVec const &v) const=0 |
| Calculate the nearest intersection point of a line in the direction v from the point p. | |
| virtual RealVec | normalTo (Shape const &o) const =0 |
| Return a vector that is normal to o, with respect to this. | |
| virtual RealVec | normalTo (Circle const &c) const =0 |
| virtual Real | distanceTo (Shape const &o) const =0 |
| virtual Real | distanceTo (Circle const &c) const =0 |
| virtual Real | distanceTo (Side const &s) const =0 |
| Real | distanceSquaredTo (Shape const &o) const |
1.5.1