CMS 3D CMS Logo

AlignableSurface.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_AlignableSurface_H
2 #define Alignment_CommonAlignment_AlignableSurface_H
3 
13 #include <vector>
14 
17 
18 class Plane;
19 
20 class AlignableSurface : public GloballyPositioned<align::Scalar> {
21 public:
23  AlignableSurface(const Plane& surface);
24 
26  AlignableSurface(const align::PositionType& = PositionType(), // default 0
27  const align::RotationType& = RotationType() // default identity
28  );
29 
30  align::Scalar width() const { return theWidth; }
31 
32  align::Scalar length() const { return theLength; }
33 
35 
37 
40 
43 
46 
49 
52 
55 
56 private:
59 };
60 
61 #endif
align::Scalar width() const
double Scalar
Definition: Definitions.h:25
AlignableSurface(const Plane &surface)
Constructor to set surface from geometry.
void setWidth(align::Scalar width)
Definition: Plane.h:16
std::vector< GlobalPoint > GlobalPoints
Definition: Utilities.h:27
void setLength(align::Scalar length)
align::RotationType toLocal(const align::RotationType &) const
Return in local frame a rotation given in global frame.
align::Scalar theWidth
Point3DBase< align::Scalar, GlobalTag > PositionType
AlgebraicVector EulerAngles
Definition: Definitions.h:34
align::Scalar length() const
TkRotation< align::Scalar > RotationType
align::GlobalPoints toGlobal(const align::LocalPoints &) const
Return in global coord given a set of local points.
align::Scalar theLength
std::vector< LocalPoint > LocalPoints
Definition: Utilities.h:29