Operation::QueryIsSupersolid

Checks if a non-supersolid mesh is actually supersolid

Given a mesh that is potentially non-supersolid (i.e. MeshBuilder::AllowNonSupersolid or MeshType::NonSupersolid), compute if the mesh is actually supersolid.

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 be marked as MeshBuilder::AllowNonSupersolid or MeshType::NonSupersolid, otherwise the query is trivially true. (i.e. we detect if a MeshType::NonSupersolid is actually supersolid, not if a MeshType::Supersolid or MeshType::Solid was mistakenly marked as such.)

Signature

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