CMS 3D CMS Logo

PlaneBuilder.h
Go to the documentation of this file.
1 #ifndef Geom_PlaneBuilder_H
2 #define Geom_PlaneBuilder_H
3 
5 
6 class Bounds;
7 
13 class PlaneBuilder {
14 public:
18 
21  ReturnType plane(const PositionType& pos, const RotationType& rot) const { return ReturnType(new Plane(pos, rot)); }
22 
28  return ReturnType(new Plane(pos, rot, bounds));
29  }
30 };
31 
32 #endif
ReturnType plane(const PositionType &pos, const RotationType &rot) const
Definition: PlaneBuilder.h:21
Surface::RotationType RotationType
Definition: PlaneBuilder.h:16
Definition: Plane.h:16
Surface::PositionType PositionType
Definition: PlaneBuilder.h:15
ReferenceCountingPointer< Plane > ReturnType
Definition: PlaneBuilder.h:17
Definition: Bounds.h:18
ReturnType plane(const PositionType &pos, const RotationType &rot, Bounds *bounds) const
Definition: PlaneBuilder.h:27