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

An extent / size (horizontal and vertical) in a TPad.

Definition at line 44 of file TPadExtent.hxx.

Classes

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

Public Member Functions

TPadExtentoperator*= (const ScaleFactor &scale)
 Scale a TPadHorizVert horizonally and vertically. More...
 
TPadExtentoperator+= (const TPadExtent &rhs)
 Add a TPadExtent. More...
 
TPadExtentoperator-= (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

TPadExtent operator+ (TPadExtent lhs, const TPadExtent &rhs)
 Add two TPadExtents. More...
 
TPadExtent operator- (TPadExtent lhs, const TPadExtent &rhs)
 Subtract two TPadExtents. More...
 

Additional Inherited Members

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

#include <ROOT/TPadExtent.hxx>

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

Member Function Documentation

◆ operator*=()

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

Scale a TPadHorizVert horizonally and vertically.

Parameters
scale- the scale factor,

Definition at line 85 of file TPadExtent.hxx.

◆ operator+=()

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

Add a TPadExtent.

Definition at line 60 of file TPadExtent.hxx.

◆ operator-=()

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

Subtract a TPadExtent.

Definition at line 68 of file TPadExtent.hxx.

Friends And Related Function Documentation

◆ operator+

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

Add two TPadExtents.

Definition at line 48 of file TPadExtent.hxx.

◆ operator-

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

Subtract two TPadExtents.

Definition at line 54 of file TPadExtent.hxx.

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

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