Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag > Class Template Reference

template<class CoordSystem, class Tag = DefaultCoordinateSystemTag>
class ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >

Class describing a generic displacement vector in 2 dimensions.

Class template describing a 2D displacement vector.

This class is templated on the type of Coordinate system. One example is the XYVector which is a vector based on double precision x,y data members by using the ROOT::Math::Cartesian2D<double> Coordinate system. The class is having also an extra template parameter, the coordinate system tag, to be able to identify (tag) vector described in different reference coordinate system, like global or local coordinate systems.

See also
Physics Vectors

Definition at line 59 of file DisplacementVector2D.h.

Public Types

typedef Tag CoordinateSystemTag
 
typedef CoordSystem CoordinateType
 
typedef CoordSystem::Scalar Scalar
 

Public Member Functions

 DisplacementVector2D ()
 Default constructor.
 
template<class OtherCoords >
 DisplacementVector2D (const DisplacementVector2D< OtherCoords, Tag > &v)
 Construct from a displacement vector expressed in different coordinates, or using a different Scalar type, but with same coordinate system tag.
 
template<class ForeignVector >
 DisplacementVector2D (const ForeignVector &v)
 Construct from a foreign 2D vector type, for example, Hep2Vector Precondition: v must implement methods x() and y()
 
template<class OtherCoords >
 DisplacementVector2D (const PositionVector2D< OtherCoords, Tag > &p)
 Construct from a position vector expressed in different coordinates but with the same coordinate system tag.
 
 DisplacementVector2D (Scalar a, Scalar b)
 Construct from three values of type Scalar.
 
CoordSystem Coordinates () const
 Retrieve a copy of the coordinates object.
 
template<class OtherCoords >
Scalar Dot (const DisplacementVector2D< OtherCoords, Tag > &v) const
 Return the scalar (dot) product of two displacement vectors.
 
template<class OtherVector >
Scalar Dot (const OtherVector &v) const
 Return the scalar (dot) product of two vectors.
 
void GetCoordinates (Scalar &a, Scalar &b) const
 get internal data into 2 Scalar numbers.
 
Scalar Mag2 () const
 Magnitute squared ( r^2 in spherical coordinate)
 
Scalar mag2 () const
 
bool operator!= (const DisplacementVector2D &rhs) const
 
DisplacementVector2D operator* (Scalar a) const
 Multiply a vector by a real number.
 
DisplacementVector2Doperator*= (Scalar a)
 multiply this vector by a scalar quantity
 
DisplacementVector2D operator+ () const
 Positive of the vector, return itself.
 
template<class OtherCoords >
DisplacementVector2Doperator+= (const DisplacementVector2D< OtherCoords, Tag > &v)
 Self Addition with a displacement vector.
 
DisplacementVector2D operator- () const
 Negative of the vector.
 
template<class OtherCoords >
DisplacementVector2Doperator-= (const DisplacementVector2D< OtherCoords, Tag > &v)
 Self Difference with a displacement vector.
 
DisplacementVector2D operator/ (Scalar a) const
 Division of a vector with a real number.
 
DisplacementVector2Doperator/= (Scalar a)
 divide this vector by a scalar quantity
 
template<class OtherCoords >
DisplacementVector2Doperator= (const DisplacementVector2D< OtherCoords, Tag > &v)
 Assignment operator from a displacement vector of arbitrary type.
 
template<class ForeignVector >
DisplacementVector2Doperator= (const ForeignVector &v)
 Assignment from a foreign 2D vector type, for example, Hep2Vector Precondition: v must implement methods x() and y()
 
template<class OtherCoords >
DisplacementVector2Doperator= (const PositionVector2D< OtherCoords, Tag > &rhs)
 Assignment operator from a position vector (not necessarily efficient unless one or the other is Cartesian)
 
bool operator== (const DisplacementVector2D &rhs) const
 Exact equality.
 
Scalar Phi () const
 Polar phi, converting if necessary from internal coordinate system.
 
Scalar phi () const
 
Scalar R () const
 Polar R, converting if necessary from internal coordinate system.
 
Scalar r () const
 
void Rotate (Scalar angle)
 Rotate by an angle.
 
DisplacementVector2D< CoordSystem, Tag > & SetCoordinates (Scalar a, Scalar b)
 Set internal data based on 2 Scalar numbers.
 
DisplacementVector2D< CoordSystem, Tag > & SetPhi (Scalar ang)
 Change Phi - Polar2D coordinates.
 
DisplacementVector2D< CoordSystem, Tag > & SetR (Scalar a)
 Change R - Polar2D coordinates only.
 
DisplacementVector2D< CoordSystem, Tag > & SetX (Scalar a)
 Change X - Cartesian2D coordinates only.
 
DisplacementVector2D< CoordSystem, Tag > & SetXY (Scalar a, Scalar b)
 set the values of the vector from the cartesian components (x,y) (if the vector is held in polar coordinates, then (x, y) are converted to that form)
 
DisplacementVector2D< CoordSystem, Tag > & SetY (Scalar a)
 Change Y - Cartesian2D coordinates only.
 
DisplacementVector2D Unit () const
 return unit vector parallel to this
 
DisplacementVector2D unit () const
 
Scalar X () const
 Cartesian X, converting if necessary from internal coordinate system.
 
Scalar x () const
 
Scalar Y () const
 Cartesian Y, converting if necessary from internal coordinate system.
 
Scalar y () const
 

Private Member Functions

template<class OtherCoords , class OtherTag >
 DisplacementVector2D (const DisplacementVector2D< OtherCoords, OtherTag > &)
 
template<class OtherCoords , class OtherTag >
 DisplacementVector2D (const PositionVector2D< OtherCoords, OtherTag > &)
 
template<class OtherCoords , class OtherTag >
DisplacementVector2D Cross (const DisplacementVector2D< OtherCoords, OtherTag > &) const
 
template<class OtherCoords , class OtherTag >
Scalar Dot (const DisplacementVector2D< OtherCoords, OtherTag > &) const
 
template<class OtherCoords , class OtherTag >
DisplacementVector2Doperator+= (const DisplacementVector2D< OtherCoords, OtherTag > &)
 
template<class OtherCoords , class OtherTag >
DisplacementVector2Doperator-= (const DisplacementVector2D< OtherCoords, OtherTag > &)
 
template<class OtherCoords , class OtherTag >
DisplacementVector2Doperator= (const DisplacementVector2D< OtherCoords, OtherTag > &)
 
template<class OtherCoords , class OtherTag >
DisplacementVector2Doperator= (const PositionVector2D< OtherCoords, OtherTag > &)
 

Private Attributes

CoordSystem fCoordinates
 

#include <MathX/GenVectorX/DisplacementVector2D.h>

Member Typedef Documentation

◆ CoordinateSystemTag

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
typedef Tag ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::CoordinateSystemTag

Definition at line 64 of file DisplacementVector2D.h.

◆ CoordinateType

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
typedef CoordSystem ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::CoordinateType

Definition at line 63 of file DisplacementVector2D.h.

◆ Scalar

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
typedef CoordSystem::Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::Scalar

Definition at line 62 of file DisplacementVector2D.h.

Constructor & Destructor Documentation

◆ DisplacementVector2D() [1/7]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::DisplacementVector2D ( )
inline

Default constructor.

Construct an empty object with zero values

Definition at line 71 of file DisplacementVector2D.h.

◆ DisplacementVector2D() [2/7]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::DisplacementVector2D ( Scalar a,
Scalar b )
inline

Construct from three values of type Scalar.

In the case of a XYVector the values are x,y In the case of a polar vector they are r, phi

Definition at line 78 of file DisplacementVector2D.h.

◆ DisplacementVector2D() [3/7]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
template<class OtherCoords >
ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::DisplacementVector2D ( const DisplacementVector2D< OtherCoords, Tag > & v)
inlineexplicit

Construct from a displacement vector expressed in different coordinates, or using a different Scalar type, but with same coordinate system tag.

Definition at line 85 of file DisplacementVector2D.h.

◆ DisplacementVector2D() [4/7]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
template<class OtherCoords >
ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::DisplacementVector2D ( const PositionVector2D< OtherCoords, Tag > & p)
inlineexplicit

Construct from a position vector expressed in different coordinates but with the same coordinate system tag.

Definition at line 94 of file DisplacementVector2D.h.

◆ DisplacementVector2D() [5/7]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
template<class ForeignVector >
ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::DisplacementVector2D ( const ForeignVector & v)
inlineexplicit

Construct from a foreign 2D vector type, for example, Hep2Vector Precondition: v must implement methods x() and y()

Definition at line 103 of file DisplacementVector2D.h.

◆ DisplacementVector2D() [6/7]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::DisplacementVector2D ( const DisplacementVector2D< OtherCoords, OtherTag > & )
inlineexplicitprivate

Definition at line 377 of file DisplacementVector2D.h.

◆ DisplacementVector2D() [7/7]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::DisplacementVector2D ( const PositionVector2D< OtherCoords, OtherTag > & )
inlineexplicitprivate

Definition at line 382 of file DisplacementVector2D.h.

Member Function Documentation

◆ Coordinates()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
CoordSystem ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::Coordinates ( ) const
inline

Retrieve a copy of the coordinates object.

Definition at line 148 of file DisplacementVector2D.h.

◆ Cross()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::Cross ( const DisplacementVector2D< OtherCoords, OtherTag > & ) const
private

◆ Dot() [1/3]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::Dot ( const DisplacementVector2D< OtherCoords, OtherTag > & ) const
private

◆ Dot() [2/3]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
template<class OtherCoords >
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::Dot ( const DisplacementVector2D< OtherCoords, Tag > & v) const
inline

Return the scalar (dot) product of two displacement vectors.

It is possible to perform the product for any type of vector coordinates, but they must have the same coordinate system tag

Definition at line 270 of file DisplacementVector2D.h.

◆ Dot() [3/3]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
template<class OtherVector >
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::Dot ( const OtherVector & v) const
inline

Return the scalar (dot) product of two vectors.

It is possible to perform the product for any classes implementing x() and y() member functions

Definition at line 280 of file DisplacementVector2D.h.

◆ GetCoordinates()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
void ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::GetCoordinates ( Scalar & a,
Scalar & b ) const
inline

get internal data into 2 Scalar numbers.

These are for example (x,y) for a cartesian vector or (r,phi) for a polar vector

Definition at line 164 of file DisplacementVector2D.h.

◆ Mag2()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::Mag2 ( ) const
inline

Magnitute squared ( r^2 in spherical coordinate)

Definition at line 212 of file DisplacementVector2D.h.

◆ mag2()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::mag2 ( ) const
inline

Definition at line 367 of file DisplacementVector2D.h.

◆ operator!=()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
bool ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator!= ( const DisplacementVector2D< CoordSystem, Tag > & rhs) const
inline

Definition at line 183 of file DisplacementVector2D.h.

◆ operator*()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator* ( Scalar a) const
inline

Multiply a vector by a real number.

Definition at line 329 of file DisplacementVector2D.h.

◆ operator*=()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator*= ( Scalar a)
inline

multiply this vector by a scalar quantity

Definition at line 308 of file DisplacementVector2D.h.

◆ operator+()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator+ ( ) const
inline

Positive of the vector, return itself.

Definition at line 344 of file DisplacementVector2D.h.

◆ operator+=() [1/2]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator+= ( const DisplacementVector2D< OtherCoords, OtherTag > & )
private

◆ operator+=() [2/2]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
template<class OtherCoords >
DisplacementVector2D & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator+= ( const DisplacementVector2D< OtherCoords, Tag > & v)
inline

Self Addition with a displacement vector.

Definition at line 289 of file DisplacementVector2D.h.

◆ operator-()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator- ( ) const
inline

Negative of the vector.

Definition at line 339 of file DisplacementVector2D.h.

◆ operator-=() [1/2]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator-= ( const DisplacementVector2D< OtherCoords, OtherTag > & )
private

◆ operator-=() [2/2]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
template<class OtherCoords >
DisplacementVector2D & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator-= ( const DisplacementVector2D< OtherCoords, Tag > & v)
inline

Self Difference with a displacement vector.

Definition at line 299 of file DisplacementVector2D.h.

◆ operator/()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator/ ( Scalar a) const
inline

Division of a vector with a real number.

Definition at line 349 of file DisplacementVector2D.h.

◆ operator/=()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator/= ( Scalar a)
inline

divide this vector by a scalar quantity

Definition at line 317 of file DisplacementVector2D.h.

◆ operator=() [1/5]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator= ( const DisplacementVector2D< OtherCoords, OtherTag > & )
private

◆ operator=() [2/5]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
template<class OtherCoords >
DisplacementVector2D & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator= ( const DisplacementVector2D< OtherCoords, Tag > & v)
inline

Assignment operator from a displacement vector of arbitrary type.

Definition at line 115 of file DisplacementVector2D.h.

◆ operator=() [3/5]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
template<class ForeignVector >
DisplacementVector2D & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator= ( const ForeignVector & v)
inline

Assignment from a foreign 2D vector type, for example, Hep2Vector Precondition: v must implement methods x() and y()

Definition at line 137 of file DisplacementVector2D.h.

◆ operator=() [4/5]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator= ( const PositionVector2D< OtherCoords, OtherTag > & )
private

◆ operator=() [5/5]

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
template<class OtherCoords >
DisplacementVector2D & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator= ( const PositionVector2D< OtherCoords, Tag > & rhs)
inline

Assignment operator from a position vector (not necessarily efficient unless one or the other is Cartesian)

Definition at line 126 of file DisplacementVector2D.h.

◆ operator==()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
bool ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::operator== ( const DisplacementVector2D< CoordSystem, Tag > & rhs) const
inline

Exact equality.

Definition at line 182 of file DisplacementVector2D.h.

◆ Phi()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::Phi ( ) const
inline

Polar phi, converting if necessary from internal coordinate system.

Definition at line 205 of file DisplacementVector2D.h.

◆ phi()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::phi ( ) const
inline

Definition at line 366 of file DisplacementVector2D.h.

◆ R()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::R ( ) const
inline

Polar R, converting if necessary from internal coordinate system.

Definition at line 200 of file DisplacementVector2D.h.

◆ r()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::r ( ) const
inline

Definition at line 365 of file DisplacementVector2D.h.

◆ Rotate()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
void ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::Rotate ( Scalar angle)
inline

Rotate by an angle.

Definition at line 359 of file DisplacementVector2D.h.

◆ SetCoordinates()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D< CoordSystem, Tag > & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::SetCoordinates ( Scalar a,
Scalar b )
inline

Set internal data based on 2 Scalar numbers.

These are for example (x,y) for a cartesian vector or (r,phi) for a polar vector

Definition at line 154 of file DisplacementVector2D.h.

◆ SetPhi()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D< CoordSystem, Tag > & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::SetPhi ( Scalar ang)
inline

Change Phi - Polar2D coordinates.

Definition at line 255 of file DisplacementVector2D.h.

◆ SetR()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D< CoordSystem, Tag > & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::SetR ( Scalar a)
inline

Change R - Polar2D coordinates only.

Definition at line 246 of file DisplacementVector2D.h.

◆ SetX()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D< CoordSystem, Tag > & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::SetX ( Scalar a)
inline

Change X - Cartesian2D coordinates only.

Definition at line 228 of file DisplacementVector2D.h.

◆ SetXY()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D< CoordSystem, Tag > & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::SetXY ( Scalar a,
Scalar b )
inline

set the values of the vector from the cartesian components (x,y) (if the vector is held in polar coordinates, then (x, y) are converted to that form)

Definition at line 171 of file DisplacementVector2D.h.

◆ SetY()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D< CoordSystem, Tag > & ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::SetY ( Scalar a)
inline

Change Y - Cartesian2D coordinates only.

Definition at line 237 of file DisplacementVector2D.h.

◆ Unit()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::Unit ( ) const
inline

return unit vector parallel to this

Definition at line 217 of file DisplacementVector2D.h.

◆ unit()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
DisplacementVector2D ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::unit ( ) const
inline

Definition at line 368 of file DisplacementVector2D.h.

◆ X()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::X ( ) const
inline

Cartesian X, converting if necessary from internal coordinate system.

Definition at line 190 of file DisplacementVector2D.h.

◆ x()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::x ( ) const
inline

Definition at line 363 of file DisplacementVector2D.h.

◆ Y()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::Y ( ) const
inline

Cartesian Y, converting if necessary from internal coordinate system.

Definition at line 195 of file DisplacementVector2D.h.

◆ y()

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
Scalar ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::y ( ) const
inline

Definition at line 364 of file DisplacementVector2D.h.

Member Data Documentation

◆ fCoordinates

template<class CoordSystem , class Tag = DefaultCoordinateSystemTag>
CoordSystem ROOT::ROOT_MATH_ARCH::DisplacementVector2D< CoordSystem, Tag >::fCoordinates
private

Definition at line 371 of file DisplacementVector2D.h.

  • math/experimental/genvectorx/inc/MathX/GenVectorX/DisplacementVector2D.h