ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::PlanarBounds Class Referenceabstract

#include <acts/blob/master/Core/include/Acts/Surfaces/PlanarBounds.hpp>

+ Inheritance diagram for Acts::PlanarBounds:
+ Collaboration diagram for Acts::PlanarBounds:

Public Member Functions

virtual std::vector< Vector2Dvertices (unsigned int lseg=1) const =0
 
virtual const RectangleBoundsboundingBox () const =0
 
- Public Member Functions inherited from Acts::SurfaceBounds
virtual ~SurfaceBounds ()=default
 
virtual BoundsType type () const =0
 
virtual std::vector< double > values () const =0
 
virtual bool inside (const Vector2D &lposition, const BoundaryCheck &bcheck) const =0
 
virtual double distanceToBoundary (const Vector2D &lposition) const =0
 
virtual std::ostream & toStream (std::ostream &os) const =0
 

Additional Inherited Members

- Public Types inherited from Acts::SurfaceBounds
enum  BoundsType : int {
  eCone = 0, eCylinder = 1, eDiamond = 2, eDisc = 3,
  eEllipse = 5, eLine = 6, eRectangle = 7, eTrapezoid = 8,
  eTriangle = 9, eDiscTrapezoid = 10, eConvexPolygon = 11, eAnnulus = 12,
  eBoundless = 13, eOther = 14
}
 

Detailed Description

common base class for all bounds that are in a local x/y cartesian frame

  • simply introduced to avoid wrong bound assigments to surfaces

Definition at line 25 of file PlanarBounds.hpp.

View newest version in sPHENIX GitHub at line 25 of file PlanarBounds.hpp

Member Function Documentation

virtual const RectangleBounds& Acts::PlanarBounds::boundingBox ( ) const
pure virtual
virtual std::vector<Vector2D> Acts::PlanarBounds::vertices ( unsigned int  lseg = 1) const
pure virtual

Return the vertices

Parameters
lsegthe number of segments used to approximate and eventually curved line
Note
that the extremas are given, which may slightly alter the number of segments returned
Returns
vector for vertices in 2D

Implemented in Acts::ConvexPolygonBounds< PolygonDynamic >, Acts::TrapezoidBounds, Acts::ConvexPolygonBounds< N >, Acts::DiamondBounds, Acts::EllipseBounds, and Acts::RectangleBounds.

Referenced by Acts::SurfaceArrayCreator::createVariableAxis(), Acts::ProtoLayer::measure(), Acts::ConvexPolygonBoundsBase::toStream(), and FW::Obj::ObjSurfaceWriter::write().

+ Here is the caller graph for this function:


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