Skip to main content

compile_product_mesh_reported_with

Function compile_product_mesh_reported_with 

Source
pub fn compile_product_mesh_reported_with<B: MeshCompiler>(
    backend: &B,
    model: &Model,
    product: EntityId,
    tolerance: Tolerance,
) -> GeometryResult<Option<CompiledMesh>>
Expand description

Compile one product’s body with a caller-supplied backend and report whether it bounds a solid.

A backend that does not override MeshCompiler::compile_mesh_reported reports MeshClosure::Unknown, which CompiledMesh::solid_mesh refuses. That is deliberate: a volume needs evidence, not a default.

§Errors

As compile_product_mesh_with.