Mesh Volume    

Returns the volume of a mesh above or below a specified reference plane.

 

Input Arguments

 

0

Collection Object Name

Mesh

Name of the mesh to consider

1

Collection Object Name Ref list

Plane

Reference plane used for the computation

 

Return Arguments

 

2

Double

Above

Computed volume above the plane

3

Double

Below

Computed volume below the plane

 

Returned Status

 

SUCCESS

The volume was computed successfully.

FAILURE

The mesh or plane were not found.

 

Remarks

If the mesh is complete and fully encloses a volume, and is not intersected by the reference plane, the full enclosed volume will be returned either above or below based upon the position of the mesh with respect to the plane.

If the plane bisects an enclosed volume the volume above and below the plane will be reported.

If the mesh does not represent an enclosed volume, then the volume reported will represent the volume between the mesh and the projected triangles on the reference plane.