A position (horizontal and vertical) in a RPad
.
Definition at line 28 of file RPadPos.hxx.
Classes | |
class | ScaleFactor |
A scale factor (separate factors for horizontal and vertical) for scaling a RPadLength . More... | |
Public Member Functions | |
RPadPos ()=default | |
RPadPos (const RPadExtent &rhs) | |
RPadPos (const RPadLength &horiz, const RPadLength &vert) | |
RPadLength & | Horiz () |
const RPadLength & | Horiz () const |
RPadPos & | operator*= (const ScaleFactor &scale) |
Scale a horizontally and vertically. More... | |
RPadPos & | operator+= (const RPadExtent &rhs) |
Add a RPadPos . More... | |
RPadPos & | operator-= (const RPadExtent &rhs) |
Subtract a RPadPos . More... | |
RPadPos & | operator= (const RPadExtent &rhs) |
Add two RPadPos s. More... | |
RPadLength & | Vert () |
const RPadLength & | Vert () const |
Private Attributes | |
RPadLength | fHoriz |
horizontal part More... | |
RPadLength | fVert |
vertical part More... | |
Friends | |
RPadPos | operator+ (RPadPos lhs, const RPadExtent &rhs) |
Add two RPadPos s. More... | |
RPadPos | operator- (RPadPos lhs, const RPadExtent &rhs) |
Subtract two RPadPos s. More... | |
#include <ROOT/RPadPos.hxx>
|
default |
|
inline |
Definition at line 38 of file RPadPos.hxx.
|
inline |
Definition at line 44 of file RPadPos.hxx.
|
inline |
Definition at line 50 of file RPadPos.hxx.
|
inline |
Definition at line 51 of file RPadPos.hxx.
|
inline |
Scale a horizontally and vertically.
scale | - the scale factor, |
Definition at line 105 of file RPadPos.hxx.
|
inline |
Add a RPadPos
.
Definition at line 79 of file RPadPos.hxx.
|
inline |
Subtract a RPadPos
.
Definition at line 87 of file RPadPos.hxx.
|
inline |
Add two RPadPos
s.
Definition at line 58 of file RPadPos.hxx.
|
inline |
Definition at line 53 of file RPadPos.hxx.
|
inline |
Definition at line 54 of file RPadPos.hxx.
|
friend |
Add two RPadPos
s.
Definition at line 67 of file RPadPos.hxx.
|
friend |
Subtract two RPadPos
s.
Definition at line 73 of file RPadPos.hxx.
|
private |
horizontal part
Definition at line 30 of file RPadPos.hxx.
|
private |
vertical part
Definition at line 32 of file RPadPos.hxx.