CMS 3D CMS Logo

PlaneBuilderFromGeometricDet.cc
Go to the documentation of this file.
1 
4 
5 #include <algorithm>
6 
7 //#define DEBUG
8 
24  // gd->bounds() returns a pointer owned by the caller!
25  return ResultType( new Plane( gd->positionBounds(), gd->rotationBounds(), gd->bounds().release()));
26 }
27 
28 
29 
Definition: Plane.h:17
Position positionBounds() const
ResultType plane(const GeometricDet *gd) const
std::unique_ptr< Bounds > bounds() const
ReferenceCountingPointer< BoundPlane > ResultType
Rotation rotationBounds() const