Computes the total surface area of all surfaces of a mesh.
This method will simply accumulate all primitives of all surfaces, regardless if they are on a solid surface or an interior. Should only the solid surface be desired, apply Operation::SelfUnion before querying.
The result is stored in a TypedBlob with BlobType::QueryResult and DataSlot::QueryResultF64.
Note:
the query result is only available after the Operation was executed.
Note:
all intermediates are accumulated in double precision. This cannot hold the exact result and rounding errors can accumulate at roughly 1 ULP per input primitive and up to 5 ULP per newly generated intermediate primitive. If a precise analysis is important to your use case, please contact support.
Signature
class Operation:
// Computes the total surface area of a mesh
fun queryArea(
mesh: MeshOperand,
) -> TypedBlob