00001 // $Header: /nfs/slac/g/glast/ground/cvs/geometry/src/Point.cxx,v 1.1.1.1 1999/12/20 22:28:06 burnett Exp $ 00002 // 00003 00004 #include "geometry/Point.h" 00005 #include "geometry/CoordTransform.h" 00006 00007 00008 00009 GeomObject& 00010 Point::transform(const CoordTransform& T) 00011 { 00012 T.transformCoord(*this); 00013 return *this; 00014 } 00015 00016 00017 00018 00019 void 00020 Point::printOn(std::ostream& cout)const 00021 { 00022 cout << "Point"; 00023 cout << '(' << x() << ',' << y() << ',' << z() << ')'; 00024 } 00025 00026
1.2.3 written by Dimitri van Heesch,
© 1997-2000