Struct Extent

Struct Documentation

struct Acts::Extent

This is a nested struct to the GeometryObject representation which can be retrieved and used for surface parsing and will give you the maximal extent in 3D space/.

Public Functions

Extent() = default
void check(const Vector3 &vtx)

Check the vertex.

Parameters
  • vtx: the Vertex to be checked

void extend(const Extent &other)

Extend with another extent.

Parameters
  • other: is the source Extent

bool intersects(const Extent &other, BinningValue bVal = binValues, double tolerance = s_epsilon)

Check if it intersects.

Parameters
  • other: The source Extent

  • bValue: The binning value for the check (binValues for all)

  • tolerance: An additional tolerance for the intersection check

double &max(BinningValue bval)

Access the max parameter.

Parameters
  • bval: the binning identification

double max(BinningValue bval) const

Access the max parameter.

Parameters
  • bval: the binning identification

double medium(BinningValue bval) const

Access the medium parameter.

Parameters
  • bval: the binning identification

double &min(BinningValue bval)

Access the minimum parameter.

Parameters
  • bval: the binning identification

double min(BinningValue bval) const

Access the minimum parameter.

Parameters
  • bval: the binning identification

double range(BinningValue bval) const

Access the range - always positive.

Parameters
  • bval: the binning identification

std::ostream &toStream(std::ostream &sl) const

Convert to output stream for screen output.

Parameters
  • sl: [in,out] The output stream

Public Members

std::vector<Range> ranges = {(int)binValues, maxrange}

Public Static Attributes

constexpr Range maxrange = {maxval, -maxval}

Start value.

constexpr double maxval = std::numeric_limits<double>::max()

Possible maximal value.