Logo ROOT   6.16/01
Reference Guide
List of all members | Classes | Public Member Functions | Friends | List of all members
ROOT::Experimental::RPadExtent Class Reference

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

Definition at line 47 of file RPadExtent.hxx.

Classes

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

Public Member Functions

RPadExtentoperator*= (const ScaleFactor &scale)
 Scale a RPadHorizVert horizonally and vertically. More...
 
RPadExtentoperator+= (const RPadExtent &rhs)
 Add a RPadExtent. More...
 
RPadExtentoperator-= (const RPadExtent &rhs)
 Subtract a RPadExtent. More...
 
- Public Member Functions inherited from ROOT::Experimental::Internal::RPadHorizVert
 RPadHorizVert ()=default
 
 RPadHorizVert (const RPadLength &horiz, const RPadLength &vert)
 
 RPadHorizVert (const std::array< RPadLength, 2 > &hv)
 
void SetFromAttrString (const std::string &name, const std::string &attrStrVal)
 Initialize a RPadHorizVert from a style string. More...
 

Friends

RPadExtent operator+ (RPadExtent lhs, const RPadExtent &rhs)
 Add two RPadExtents. More...
 
RPadExtent operator- (RPadExtent lhs, const RPadExtent &rhs)
 Subtract two RPadExtents. More...
 

Additional Inherited Members

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

#include <ROOT/RPadExtent.hxx>

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

Member Function Documentation

◆ operator*=()

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

Scale a RPadHorizVert horizonally and vertically.

Parameters
scale- the scale factor,

Definition at line 88 of file RPadExtent.hxx.

◆ operator+=()

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

Add a RPadExtent.

Definition at line 63 of file RPadExtent.hxx.

◆ operator-=()

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

Subtract a RPadExtent.

Definition at line 71 of file RPadExtent.hxx.

Friends And Related Function Documentation

◆ operator+

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

Add two RPadExtents.

Definition at line 51 of file RPadExtent.hxx.

◆ operator-

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

Subtract two RPadExtents.

Definition at line 57 of file RPadExtent.hxx.

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

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