Struct Acts::Extent¶
-
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
-
inline void check(const Vector3 &vtx)
Check the vertex.
- Parameters
vtx – the Vertex to be checked
-
inline void extend(const Extent &other)
Extend with another extent.
- Parameters
other – is the source Extent
-
inline bool intersects(const Extent &other, BinningValue bVal = binValues, double tolerance = s_epsilon)
Check if it intersects.
- Parameters
other – The source Extent
bVal – The binning value for the check (binValues for all)
tolerance – An additional tolerance for the intersection check
-
inline double &max(BinningValue bval)
Access the max parameter.
- Parameters
bval – the binning identification
-
inline double max(BinningValue bval) const
Access the max parameter.
- Parameters
bval – the binning identification
-
inline double medium(BinningValue bval) const
Access the medium parameter.
- Parameters
bval – the binning identification
-
inline double &min(BinningValue bval)
Access the minimum parameter.
- Parameters
bval – the binning identification
-
inline double min(BinningValue bval) const
Access the minimum parameter.
- Parameters
bval – the binning identification
-
inline 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
-
Extent() = default