Operation::QueryIsSolid

Checks if a non-solid mesh is actually solid

Given a mesh that is potentially non-solid (i.e. any of the MeshBuilder/SurfaceBuilder::AllowXYZ relaxations or MeshType::NonSupersolid or MeshType::Supersolid), compute if the mesh is actually solid.

The result is stored in a TypedBlob with BlobType::QueryResult and DataSlot::QueryResultBool.

Note:
the query result is only available after the Operation was executed.
Note:
The mesh must not already be marked as solid. (i.e. we detect if a relaxed declaration can be tightened, not if MeshType::Solid was mistakenly marked as such.)

Signature

class Operation:
    // Checks if a non-solid mesh is actually solid
    fun queryIsSolid(
        mesh: MeshOperand,
    ) -> TypedBlob