19 getInnerRegion(
const std::vector<std::reference_wrapper<const CSGSurface>> & surfaces,
23 for (
const auto & surf_ref : surfaces)
25 const auto & surf = surf_ref.get();
26 const auto direction = surf.getHalfspaceFromPoint(origin);
30 : inner_region & halfspace;
CSGRegions creates an internal representation of a CSG region, which can refer to an intersection...
RegionType getRegionType() const
Get the region type.
CSG::CSGRegion getInnerRegion(const std::vector< std::reference_wrapper< const CSG::CSGSurface >> &surfaces, const libMesh::Point &origin)
Get inner region of given surfaces, defined as the intersection of halfspaces of each surface...