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

A position (horizontal and vertical) in a RPad.

Definition at line 27 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 &extent)
 
RPadPosoperator*= (const ScaleFactor &scale)
 Scale a RPadHorizVert horizontally and vertically. More...
 
RPadPosoperator+= (const RPadExtent &rhs)
 Subtract from a RPadPoss. Is this really needed? More...
 
RPadPosoperator-= (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 &val, const std::string &name)
 Initialize a RPadHorizVert from a style string. More...
 

Friends

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

Additional Inherited Members

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

#include <ROOT/RPadPos.hxx>

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

Constructor & Destructor Documentation

◆ RPadPos() [1/2]

ROOT::Experimental::RPadPos::RPadPos ( )
default

◆ RPadPos() [2/2]

ROOT::Experimental::RPadPos::RPadPos ( const RPadExtent extent)
inline

Definition at line 30 of file RPadPos.hxx.

Member Function Documentation

◆ operator*=()

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

Scale a RPadHorizVert horizontally and vertically.

Parameters
scale- the scale factor,

Definition at line 84 of file RPadPos.hxx.

◆ operator+=()

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

Subtract from a RPadPoss. Is this really needed?

Add a RPadExtent.

Definition at line 59 of file RPadPos.hxx.

◆ operator-=()

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

Subtract a RPadExtent.

Definition at line 67 of file RPadPos.hxx.

Friends And Related Function Documentation

◆ operator+ [1/2]

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

Add to a RPadExtent.

Definition at line 39 of file RPadPos.hxx.

◆ operator+ [2/2]

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

Add a RPadExtent.

Definition at line 33 of file RPadPos.hxx.

◆ operator-

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

Subtract a RPadExtent.

Definition at line 45 of file RPadPos.hxx.

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

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