Project
Loading...
Searching...
No Matches
o2::math_utils::detail::IntervalXY< T > Class Template Reference

#include <IntervalXY.h>

Public Types

using value_t = T
 2D interval in lab frame defined by its one edge and signed projection lengths on X,Y axes
 

Public Member Functions

 GPUd () IntervalXY(T x
 
 GPUd () T getX0() const
 
 GPUd () T getY0() const
 
 GPUd () T &getX0()
 
 GPUd () T &getY0()
 
 GPUd () T getX1() const
 
 GPUd () T getY1() const
 
 GPUd () T getDX() const
 
 GPUd () T getDY() const
 
 GPUd () T &getDX()
 
 GPUd () T &getDY()
 
 GPUd () void setX0(T x0)
 
 GPUd () void setY0(T y0)
 
 GPUd () void setX1(T x1)
 
 GPUd () void setY1(T y1)
 
 GPUd () void setDX(T dx)
 
 GPUd () void setDY(T dy)
 
 GPUd () void setEdges(T x0
 
 GPUd () void eval(T t
 
std::tuple< T, Teval (T t) const
 
 GPUd () void getLineCoefs(T &a
 
 GPUd () bool seenByCircle(const CircleXY< T > &circle
 
 GPUd () bool circleCrossParam(const CircleXY< T > &circle
 
 GPUd () bool seenByLine(const IntervalXY< T > &other
 
 GPUd () bool lineCrossParam(const IntervalXY< T > &other
 

Public Attributes

T y = T()
 
T T dx = T()
 
T T T dy = T())
 
T y0
 
T T x1
 
T T T y1
 
Tx
 
T T &y const
 
Tb
 
T T &c const
 
T eps const
 
T &t const
 

Detailed Description

template<typename T>
class o2::math_utils::detail::IntervalXY< T >

Definition at line 38 of file IntervalXY.h.

Member Typedef Documentation

◆ value_t

template<typename T >
using o2::math_utils::detail::IntervalXY< T >::value_t = T

2D interval in lab frame defined by its one edge and signed projection lengths on X,Y axes

Definition at line 41 of file IntervalXY.h.

Member Function Documentation

◆ eval()

template<typename T >
std::tuple< T, T > o2::math_utils::detail::IntervalXY< T >::eval ( T  t) const

Definition at line 210 of file IntervalXY.h.

◆ GPUd() [1/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) const &

◆ GPUd() [2/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) const &

get crossing parameter of 2 intervals

◆ GPUd() [3/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) const &

check if XY interval is seen by the circle. The tolerance parameter eps is interpreted as a fraction of the interval lenght to be added to the edges along the interval (i.e. while the points within the interval are spanning x = xc + dx*t y = yc + dy*t with 0<t<1., we acctually check the interval for -eps<t<1+eps

◆ GPUd() [4/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) const &

check if XY interval is seen by the line defined by other interval The tolerance parameter eps is interpreted as a fraction of the interval lenght to be added to the edges along the interval (i.e. while the points within the interval are spanning x = xc + dx*t y = yc + dy*t with 0<t<1., we acctually check the interval for -eps<t<1+eps

◆ GPUd() [5/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( )

◆ GPUd() [6/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) &

◆ GPUd() [7/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) &

◆ GPUd() [8/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) &

◆ GPUd() [9/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) &

◆ GPUd() [10/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) const

◆ GPUd() [11/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) const

◆ GPUd() [12/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) const

◆ GPUd() [13/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) const

◆ GPUd() [14/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) const

◆ GPUd() [15/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) const

◆ GPUd() [16/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( )

◆ GPUd() [17/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( ) &

◆ GPUd() [18/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( )

◆ GPUd() [19/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( )

◆ GPUd() [20/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( )

◆ GPUd() [21/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( )

◆ GPUd() [22/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( )

◆ GPUd() [23/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( )

◆ GPUd() [24/24]

template<typename T >
o2::math_utils::detail::IntervalXY< T >::GPUd ( )

Member Data Documentation

◆ b

template<typename T >
T& o2::math_utils::detail::IntervalXY< T >::b

Definition at line 69 of file IntervalXY.h.

◆ const [1/4]

template<typename T >
T &t o2::math_utils::detail::IntervalXY< T >::const

Definition at line 64 of file IntervalXY.h.

◆ const [2/4]

template<typename T >
T T& c o2::math_utils::detail::IntervalXY< T >::const

Definition at line 69 of file IntervalXY.h.

◆ const [3/4]

template<typename T >
T eps o2::math_utils::detail::IntervalXY< T >::const

Definition at line 79 of file IntervalXY.h.

◆ const [4/4]

template<typename T >
T& t o2::math_utils::detail::IntervalXY< T >::const

Definition at line 81 of file IntervalXY.h.

◆ dx

template<typename T >
T T o2::math_utils::detail::IntervalXY< T >::dx = T()

Definition at line 44 of file IntervalXY.h.

◆ dy

template<typename T >
T T T o2::math_utils::detail::IntervalXY< T >::dy = T())

Definition at line 44 of file IntervalXY.h.

◆ x

template<typename T >
T& o2::math_utils::detail::IntervalXY< T >::x

Definition at line 64 of file IntervalXY.h.

◆ x1

template<typename T >
T T o2::math_utils::detail::IntervalXY< T >::x1

Definition at line 62 of file IntervalXY.h.

◆ y

template<typename T >
T o2::math_utils::detail::IntervalXY< T >::y = T()

Definition at line 44 of file IntervalXY.h.

◆ y0

template<typename T >
T o2::math_utils::detail::IntervalXY< T >::y0

Definition at line 62 of file IntervalXY.h.

◆ y1

template<typename T >
T T T o2::math_utils::detail::IntervalXY< T >::y1

Definition at line 62 of file IntervalXY.h.


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