tagGame::Side Class Reference

The sides of the world are a special kind of obstacle. More...

#include <Side.h>

Inheritance diagram for tagGame::Side:

Inheritance graph
[legend]
Collaboration diagram for tagGame::Side:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

The sides of the world are a special kind of obstacle.


The documentation for this class was generated from the following files:
Generated on Sat Mar 31 22:31:01 2007 for tagGame by  doxygen 1.5.1