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. More... | |
RPadExtent & | operator+= (const RPadExtent &rhs) |
Add a RPadExtent . More... | |
RPadExtent & | operator-= (const RPadExtent &rhs) |
Subtract a RPadExtent . More... | |
RPadLength & | Vert () |
const RPadLength & | Vert () const |
Private Attributes | |
RPadLength | fHoriz |
horizontal part More... | |
RPadLength | fVert |
vertical part 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... | |
#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 RPadExtent
s.
Definition at line 51 of file RPadExtent.hxx.
|
friend |
Subtract two RPadExtent
s.
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.