CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/DataFormats/GeometrySurface/src/Plane.cc

Go to the documentation of this file.
00001 
00002 
00003 #include "DataFormats/GeometrySurface/interface/Plane.h"
00004 #include "DataFormats/GeometrySurface/interface/TangentPlane.h"
00005 
00006 
00007 
00008 ReferenceCountingPointer<TangentPlane> 
00009 Plane::tangentPlane (const GlobalPoint&) const
00010 {
00011   return ReferenceCountingPointer<TangentPlane>(new TangentPlane(position(),
00012                                                                  rotation(),
00013                                                                  this));
00014 }
00015 
00016 ReferenceCountingPointer<TangentPlane> 
00017 Plane::tangentPlane (const LocalPoint&) const
00018 {
00019   return ReferenceCountingPointer<TangentPlane>(new TangentPlane(position(),
00020                                                                  rotation(),
00021                                                                  this));
00022 }