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 Plane( pos, rot));
24  }
25 
31  Bounds * bounds) const {
32  return ReturnType( new Plane( 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
Definition: Plane.h:17
Surface::PositionType PositionType
Definition: PlaneBuilder.h:16
ReferenceCountingPointer< Plane > ReturnType
Definition: PlaneBuilder.h:18
Definition: Bounds.h:22
ReturnType plane(const PositionType &pos, const RotationType &rot, Bounds *bounds) const
Definition: PlaneBuilder.h:30