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.
inline const std::vector<Vector3> references(const GeometryContext &gctx, const Surface &surface) const
Helper to access the Center point of for filling the grid.
gctx – the geometry context of this operation
surface – the surface for which the reference point is to be accessed
a vector of referene points for filling
bool addBarycenter = true
Also use the barycenter.
unsigned int nSegments = 1
The number of segments to approximate (1 means extrema points only)
- inline const std::vector<Vector3> references(const GeometryContext &gctx, const Surface &surface) const