Logo ROOT   6.14/05
Reference Guide
List of all members | Classes | Public Member Functions | Friends | List of all members
ROOT::Experimental::TPadPos Class Reference

A position (horizontal and vertical) in a TPad.

Definition at line 27 of file TPadPos.hxx.

Classes

class  ScaleFactor
 A scale factor (separate factors for horizontal and vertical) for scaling a TPadLength. More...
 

Public Member Functions

 TPadPos ()=default
 
 TPadPos (const TPadExtent &extent)
 
TPadPosoperator*= (const ScaleFactor &scale)
 Scale a TPadHorizVert horizontally and vertically. More...
 
TPadPosoperator+= (const TPadExtent &rhs)
 Subtract from a TPadPoss. Is this really needed? More...
 
TPadPosoperator-= (const TPadExtent &rhs)
 Subtract a TPadExtent. More...
 
- Public Member Functions inherited from ROOT::Experimental::Internal::TPadHorizVert
 TPadHorizVert ()=default
 
 TPadHorizVert (const std::array< TPadLength, 2 > &hv)
 
 TPadHorizVert (const TPadLength &horiz, const TPadLength &vert)
 

Friends

TPadPos operator+ (const TPadPos &lhs, const TPadExtent &rhs)
 Add a TPadExtent. More...
 
TPadPos operator+ (const TPadExtent &lhs, const TPadPos &rhs)
 Add to a TPadExtent. More...
 
TPadPos operator- (const TPadPos &lhs, const TPadExtent &rhs)
 Subtract a TPadExtent. More...
 

Additional Inherited Members

- Public Attributes inherited from ROOT::Experimental::Internal::TPadHorizVert
TPadLength fHoriz
 Horizontal position. More...
 
TPadLength fVert
 Vertical position. More...
 

#include <ROOT/TPadPos.hxx>

Inheritance diagram for ROOT::Experimental::TPadPos:
[legend]

Constructor & Destructor Documentation

◆ TPadPos() [1/2]

ROOT::Experimental::TPadPos::TPadPos ( )
default

◆ TPadPos() [2/2]

ROOT::Experimental::TPadPos::TPadPos ( const TPadExtent extent)
inline

Definition at line 30 of file TPadPos.hxx.

Member Function Documentation

◆ operator*=()

TPadPos& ROOT::Experimental::TPadPos::operator*= ( const ScaleFactor scale)
inline

Scale a TPadHorizVert horizontally and vertically.

Parameters
scale- the scale factor,

Definition at line 84 of file TPadPos.hxx.

◆ operator+=()

TPadPos& ROOT::Experimental::TPadPos::operator+= ( const TPadExtent rhs)
inline

Subtract from a TPadPoss. Is this really needed?

Add a TPadExtent.

Definition at line 59 of file TPadPos.hxx.

◆ operator-=()

TPadPos& ROOT::Experimental::TPadPos::operator-= ( const TPadExtent rhs)
inline

Subtract a TPadExtent.

Definition at line 67 of file TPadPos.hxx.

Friends And Related Function Documentation

◆ operator+ [1/2]

TPadPos operator+ ( const TPadPos lhs,
const TPadExtent rhs 
)
friend

Add a TPadExtent.

Definition at line 33 of file TPadPos.hxx.

◆ operator+ [2/2]

TPadPos operator+ ( const TPadExtent lhs,
const TPadPos rhs 
)
friend

Add to a TPadExtent.

Definition at line 39 of file TPadPos.hxx.

◆ operator-

TPadPos operator- ( const TPadPos lhs,
const TPadExtent rhs 
)
friend

Subtract a TPadExtent.

Definition at line 45 of file TPadPos.hxx.

Collaboration diagram for ROOT::Experimental::TPadPos:
[legend]

The documentation for this class was generated from the following file: