ROOT 6.16/01 Reference Guide |
An extent / size (horizontal and vertical) in a RPad
.
Definition at line 47 of file RPadExtent.hxx.
Classes | |
class | ScaleFactor |
A scale factor (separate factors for horizontal and vertical) for scaling a RPadLength . More... | |
Public Member Functions | |
RPadExtent & | operator*= (const ScaleFactor &scale) |
Scale a RPadHorizVert horizonally and vertically. More... | |
RPadExtent & | operator+= (const RPadExtent &rhs) |
Add a RPadExtent . More... | |
RPadExtent & | operator-= (const RPadExtent &rhs) |
Subtract a RPadExtent . More... | |
Public Member Functions inherited from ROOT::Experimental::Internal::RPadHorizVert | |
RPadHorizVert ()=default | |
RPadHorizVert (const RPadLength &horiz, const RPadLength &vert) | |
RPadHorizVert (const std::array< RPadLength, 2 > &hv) | |
void | SetFromAttrString (const std::string &name, const std::string &attrStrVal) |
Initialize a RPadHorizVert from a style string. More... | |
Friends | |
RPadExtent | operator+ (RPadExtent lhs, const RPadExtent &rhs) |
Add two RPadExtent s. More... | |
RPadExtent | operator- (RPadExtent lhs, const RPadExtent &rhs) |
Subtract two RPadExtent s. More... | |
Additional Inherited Members | |
Public Attributes inherited from ROOT::Experimental::Internal::RPadHorizVert | |
RPadLength | fHoriz |
Horizontal position. More... | |
RPadLength | fVert |
Vertical position. More... | |
#include <ROOT/RPadExtent.hxx>
|
inline |
Scale a RPadHorizVert
horizonally and vertically.
scale | - the scale factor, |
Definition at line 88 of file RPadExtent.hxx.
|
inline |
Add a RPadExtent
.
Definition at line 63 of file RPadExtent.hxx.
|
inline |
Subtract a RPadExtent
.
Definition at line 71 of file RPadExtent.hxx.
|
friend |
Add two RPadExtent
s.
Definition at line 51 of file RPadExtent.hxx.
|
friend |
Subtract two RPadExtent
s.
Definition at line 57 of file RPadExtent.hxx.