solid
A general solid object.
Details
Casts To
- bool
-
'true' if the solid value has been defined, 'false' otherwise
Members
- bool empty()
-
Returns 'true' if the solid contains one or more mesh triangle(s), 'false' if it contains no triangles and/or if it has not been defined.
- selectbox fast_bbox()
-
Returns a bounding box of the solid. This bounding box can be calculated with small time effort.
- selectbox min_bbox()
-
Returns the minimal bounding box of the solid.
- float volume()
-
Returns the volume of the solid.
(Note that this value may be incorrect if the mesh representing the solid is not a valid manifold.)