An extent / size (horizontal and vertical) in a RPad.
Definition at line 27 of file RPadExtent.hxx.
Classes | |
| struct | ScaleFactor |
A scale factor (separate factors for horizontal and vertical) for scaling a RPadLength. More... | |
Public Member Functions | |
| RPadExtent ()=default | |
| RPadExtent (const RPadLength &horiz, const RPadLength &vert) | |
| RPadLength & | Horiz () |
| const RPadLength & | Horiz () const |
| RPadExtent & | operator*= (const ScaleFactor &scale) |
| Scale a horizontally and vertically. | |
| RPadExtent & | operator+= (const RPadExtent &rhs) |
Add a RPadExtent. | |
| RPadExtent & | operator-= (const RPadExtent &rhs) |
Subtract a RPadExtent. | |
| RPadLength & | Vert () |
| const RPadLength & | Vert () const |
Private Attributes | |
| RPadLength | fHoriz |
| horizontal part | |
| RPadLength | fVert |
| vertical part | |
Friends | |
| RPadExtent | operator+ (RPadExtent lhs, const RPadExtent &rhs) |
Add two RPadExtents. | |
| RPadExtent | operator- (RPadExtent lhs, const RPadExtent &rhs) |
Subtract two RPadExtents. | |
#include <ROOT/RPadExtent.hxx>
|
default |
|
inline |
Definition at line 37 of file RPadExtent.hxx.
|
inline |
Definition at line 43 of file RPadExtent.hxx.
|
inline |
Definition at line 44 of file RPadExtent.hxx.
|
inline |
Scale a horizontally and vertically.
| scale | - the scale factor, |
Definition at line 89 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.
|
inline |
Definition at line 46 of file RPadExtent.hxx.
|
inline |
Definition at line 47 of file RPadExtent.hxx.
|
friend |
Add two RPadExtents.
Definition at line 51 of file RPadExtent.hxx.
|
friend |
Subtract two RPadExtents.
Definition at line 57 of file RPadExtent.hxx.
|
private |
horizontal part
Definition at line 29 of file RPadExtent.hxx.
|
private |
vertical part
Definition at line 31 of file RPadExtent.hxx.