File PlanarBounds.hpp

namespace Acts

Note

This file is foreseen for the Geometry module to replace Extent

class PlanarBounds : public Acts::SurfaceBounds
#include <Acts/Surfaces/PlanarBounds.hpp>

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

  • simply introduced to avoid wrong bound assigments to surfaces

Subclassed by Acts::ConvexPolygonBoundsBase, Acts::DiamondBounds, Acts::EllipseBounds, Acts::RectangleBounds, Acts::TrapezoidBounds

Public Functions

virtual const RectangleBounds &boundingBox() const = 0

Bounding box parameters.

Returns

rectangle bounds for a bounding box

virtual std::vector<Vector2> vertices(unsigned int lseg = 1) const = 0

Return the vertices.

Note

that the extremas are given, which may slightly alter the number of segments returned

Parameters

lseg – the number of segments used to approximate and eventually curved line

Returns

vector for vertices in 2D