16 #ifndef ROOT7_TPadExtent 17 #define ROOT7_TPadExtent 24 namespace Experimental {
36 TPadHorizVert(
const std::array<TPadCoord, 2> &hv): fHoriz(hv[0]), fVert(hv[1]) {}
double fHoriz
Horizontal scale factor.
Namespace for new ROOT classes and functions.
friend TPadExtent operator+(TPadExtent lhs, const TPadExtent &rhs)
Add two TPadExtents.
TPadExtent & operator-=(const TPadExtent &rhs)
Subtract a TPadExtent.
double fVert
Vertical scale factor.
A scale factor (separate factors for horizontal and vertical) for scaling a TPadCoord.
TPadExtent & operator*=(const ScaleFactor &scale)
Scale a TPadHorizVert horizonally and vertically.
TPadCoord fVert
Vertical position.
An extent / size (horizontal and vertical) in a TPad.
TPadExtent & operator+=(const TPadExtent &rhs)
Add a TPadExtent.
TPadHorizVert(const std::array< TPadCoord, 2 > &hv)
friend TPadExtent operator-(TPadExtent lhs, const TPadExtent &rhs)
Subtract two TPadExtents.
TPadHorizVert(const TPadCoord &horiz, const TPadCoord &vert)
TPadCoord fHoriz
Horizontal position.
A 2D (horizontal and vertical) combination of TPadCoords.