Class Acts::PlanarBounds¶
-
class Acts::PlanarBounds : public Acts::SurfaceBounds¶
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