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

Point Class Reference

Defines a geometrical point, differing from Vector only by its transformation properties, and the fact that it can be displayed. More...

#include <Point.h>

Inheritance diagram for Point:

Hep3Vector GeomObject List of all members.

Public Methods

 Point (const Point& p)
 Point ()
 Point (double x, double y, double z)
Point& operator= (const Point& v)
Point& operator+= (const Vector& v)
Point& operator-= (const Vector& v)
GeomObjecttransform (const CoordTransform&)
 virtual method to perform transformations that must be implemented by subclasses. More...

const char* nameOf () const
 makes name available to subclasses using the type info facility. More...

void printOn (std::ostream& f =std::cout) const
 print info about this object. More...


Private Methods

Point operator * (double )
Point operator/ (double )
Point operator+ (const Point& )

Detailed Description

Defines a geometrical point, differing from Vector only by its transformation properties, and the fact that it can be displayed.

Definition at line 14 of file Point.h.


Constructor & Destructor Documentation

Point::Point ( const Point & p ) [inline]
 

Definition at line 17 of file Point.h.

Point::Point ( ) [inline]
 

Definition at line 18 of file Point.h.

Referenced by operator *(), operator+(), and operator/().

Point::Point ( double x,
double y,
double z ) [inline]
 

Definition at line 19 of file Point.h.


Member Function Documentation

const char * Point::nameOf ( ) const [inline, virtual]
 

makes name available to subclasses using the type info facility.

Reimplemented from GeomObject.

Definition at line 34 of file Point.h.

Point Point::operator * ( double ) [inline, private]
 

Definition at line 39 of file Point.h.

Point Point::operator+ ( const Point & ) [inline, private]
 

Definition at line 41 of file Point.h.

Point & Point::operator+= ( const Vector & v ) [inline]
 

Definition at line 23 of file Point.h.

Point & Point::operator-= ( const Vector & v ) [inline]
 

Definition at line 24 of file Point.h.

Point Point::operator/ ( double ) [inline, private]
 

Definition at line 40 of file Point.h.

Point & Point::operator= ( const Point & v ) [inline]
 

Definition at line 22 of file Point.h.

void Point::printOn ( std::ostream & cout = std::cout ) const [virtual]
 

print info about this object.

Reimplemented from GeomObject.

Definition at line 20 of file Point.cxx.

Referenced by operator<<().

GeomObject & Point::transform ( const CoordTransform & T ) [virtual]
 

virtual method to perform transformations that must be implemented by subclasses.

Reimplemented from GeomObject.

Definition at line 10 of file Point.cxx.

Referenced by Shape::transform(), and Ray::transform().


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:20:13 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000