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


Public Member Functions | |
| virtual std::ostream & | output (std::ostream &out) const |
| void | setNormal (RealVec const &normal) |
| void | setDistance (Real const distance) |
| RealVec const & | getNormal () const |
| Real | getDistance () const |
| RealVec const & | getBegin () const |
| RealVec const & | getEnd () const |
| void | setBegin (RealVec const &begin) |
| void | setEnd (RealVec const &end) |
| virtual RealVec | nearestIntersection (RealVec const &p, RealVec const &v) const |
| Calculate the nearest intersection point of a line in the direction v from the point p. | |
| virtual RealVec | normalTo (Shape const &o) const |
| Return a vector that is normal to o, with respect to this. | |
| virtual RealVec | normalTo (Circle const &c) const |
| virtual Real | distanceTo (Shape const &o) const |
| virtual Real | distanceTo (Circle const &c) const |
| virtual Real | distanceTo (Side const &s) const |
1.5.1