Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | Public Attributes | List of all members
ROOT::Experimental::Internal::RPadHorizVert Class Reference

A 2D (horizontal and vertical) combination of RPadLengths.

Definition at line 32 of file RPadExtent.hxx.

Public Member Functions

 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...
 

Public Attributes

RPadLength fHoriz
 Horizontal position. More...
 
RPadLength fVert
 Vertical position. More...
 

#include <ROOT/RPadExtent.hxx>

Inheritance diagram for ROOT::Experimental::Internal::RPadHorizVert:
[legend]

Constructor & Destructor Documentation

◆ RPadHorizVert() [1/3]

ROOT::Experimental::Internal::RPadHorizVert::RPadHorizVert ( )
default

◆ RPadHorizVert() [2/3]

ROOT::Experimental::Internal::RPadHorizVert::RPadHorizVert ( const std::array< RPadLength, 2 > &  hv)
inline

Definition at line 37 of file RPadExtent.hxx.

◆ RPadHorizVert() [3/3]

ROOT::Experimental::Internal::RPadHorizVert::RPadHorizVert ( const RPadLength horiz,
const RPadLength vert 
)
inline

Definition at line 38 of file RPadExtent.hxx.

Member Function Documentation

◆ SetFromAttrString()

void ROOT::Experimental::Internal::RPadHorizVert::SetFromAttrString ( const std::string &  name,
const std::string &  attrStrVal 
)

Initialize a RPadHorizVert from a style string.

Syntax: X, Y where X and Y are a series of numbers separated by "+", where each number is followed by one of px, user, normal to specify an extent in pixel, user or normal coordinates. Spaces between any part is allowed. Example: 100 px + 0.1 user, 0.5 normal is a RPadExtent{100_px + 0.1_user, 0.5_normal}.

Definition at line 42 of file RPadExtent.cxx.

Member Data Documentation

◆ fHoriz

RPadLength ROOT::Experimental::Internal::RPadHorizVert::fHoriz

Horizontal position.

Definition at line 33 of file RPadExtent.hxx.

◆ fVert

RPadLength ROOT::Experimental::Internal::RPadHorizVert::fVert

Vertical position.

Definition at line 34 of file RPadExtent.hxx.

Collaboration diagram for ROOT::Experimental::Internal::RPadHorizVert:
[legend]

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