Struct Acts::Experimental::PolyhedronReferenceGeneratorΒΆ

struct PolyhedronReferenceGenerator

A struct to access generated vertices from surface polyhedrons These vertices are then used to find the bin boundary box for the indexed grid.

The grid filling then completes the empty bins in between and expands if necessary.

Public Functions

inline const std::vector<Vector3> references(const GeometryContext &gctx, const Surface &surface) const

Helper to access the Center point of for filling the grid.

Parameters
  • gctx – the geometry context of this operation

  • surface – the surface for which the reference point is to be accessed

Returns

a vector of referene points for filling

Public Members

bool addBarycenter = true

Also use the barycenter.

unsigned int nSegments = 1

The number of segments to approximate (1 means extrema points only)