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