Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SimpleHit Class Reference

Base hit class that stores points. More...

#include <SimpleHit.h>

List of all members.

Public Methods

 SimpleHit ()
 default constructor. More...

 SimpleHit (Point pos)
 constructor with a point to be used as a hit. More...

Point operator() () const
 operator returns the point. More...

void printOn (std::ostream& os) const
void draw (gui::DisplayRep& v) const
 drat the point. More...


Protected Attributes

Point m_pos


Detailed Description

Base hit class that stores points.

Definition at line 10 of file SimpleHit.h.


Constructor & Destructor Documentation

SimpleHit::SimpleHit ( ) [inline]
 

default constructor.

Definition at line 14 of file SimpleHit.h.

SimpleHit::SimpleHit ( Point pos ) [inline]
 

constructor with a point to be used as a hit.

Definition at line 16 of file SimpleHit.h.


Member Function Documentation

void SimpleHit::draw ( gui::DisplayRep & v ) const
 

drat the point.

Definition at line 49 of file SimpleHit.cxx.

Point SimpleHit::operator() ( ) const [inline]
 

operator returns the point.

Definition at line 32 of file SimpleHit.h.

void SimpleHit::printOn ( std::ostream & os ) const
 

Definition at line 26 of file SimpleHit.cxx.


Member Data Documentation

Point SimpleHit::m_pos [protected]
 

Definition at line 25 of file SimpleHit.h.


The documentation for this class was generated from the following files:
Generated at Mon Nov 26 18:18:43 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000