CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
15 
19 
22  ReturnType plane( const PositionType& pos, const RotationType& rot) const {
23  return ReturnType( new BoundPlane( pos, rot));
24  }
25 
31  const Bounds& bounds) const {
32  return ReturnType( new BoundPlane( pos, rot, bounds));
33  }
34 
35 };
36 
37 #endif
ReturnType plane(const PositionType &pos, const RotationType &rot) const
Definition: PlaneBuilder.h:22
Surface::RotationType RotationType
Definition: PlaneBuilder.h:17
Surface::PositionType PositionType
Definition: PlaneBuilder.h:16
ReferenceCountingPointer< BoundPlane > ReturnType
Definition: PlaneBuilder.h:18
ReturnType plane(const PositionType &pos, const RotationType &rot, const Bounds &bounds) const
Definition: PlaneBuilder.h:30
Definition: Bounds.h:18