|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKSURFACES_TRIANGLEBOUNDS_H
10 #define TRKSURFACES_TRIANGLEBOUNDS_H
19 #ifdef TRKDETDESCR_USEFLOATPRECISON
112 virtual MsgStream&
dump(MsgStream& sl)
const override;
115 virtual std::ostream&
dump(std::ostream& sl)
const override;
122 #include "TrkSurfaces/TriangleBounds.icc"
123 #endif // TRKSURFACES_RECTANGLEBOUNDS_H
virtual ~TriangleBounds()=default
Destructor.
Eigen::Matrix< double, 2, 1 > Vector2D
virtual bool inside(const Amg::Vector2D &locpo, double tol1=0., double tol2=0.) const override final
This method checks if the provided local coordinates are inside the surface bounds.
TriangleBounds(const TriangleBounds &tribo)=default
Copy constructor.
virtual double r() const override final
This method returns the maximal extension on the local plane, i.e.
virtual BoundsType type() const override final
Return the type of the bounds for persistency.
std::vector< std::pair< TDD_real_t, TDD_real_t > > vertices() const
This method returns the coordinates of vertices.
virtual TriangleBounds * clone() const override
Virtual constructor.
bool const RAWDATA *ch2 const
TriangleBounds & operator=(const TriangleBounds &recbo)=default
Assignment Operator.
std::vector< TDD_real_t > m_boundValues
virtual double minDistance(const Amg::Vector2D &pos) const override final
Minimal distance to boundary ( > 0 if outside and <=0 if inside)
Ensure that the ATLAS eigen extensions are properly loaded.
Definition of ATLAS Math & Geometry primitives (Amg)
virtual MsgStream & dump(MsgStream &sl) const override
Output Method for MsgStream.
virtual bool insideLoc2(const Amg::Vector2D &locpo, double tol2=0.) const override final
This method checks inside bounds in loc2.
virtual bool operator==(const SurfaceBounds &sbo) const override
Equality operator.
TriangleBounds(TriangleBounds &&tribo) noexcept=default
Move constructor.
virtual bool insideLoc1(const Amg::Vector2D &locpo, double tol1=0.) const override final
This method checks inside bounds in loc1.
TriangleBounds & operator=(TriangleBounds &&recbo) noexcept=default
Move Assignment Operator.
TriangleBounds()
Default Constructor - needed for persistency.