Method: RADMesh::STL#calculate_volume!

Defined in:
lib/radmesh/stl.rb

#calculate_volume!STL

Note:

There is also the same method without ! working as expected. It is not in this reference guide, because it is automatically generated.

Calculate volume and save it to the stats

Returns:

  • (STL)

    returns itself



98
99
100
101
# File 'lib/radmesh/stl.rb', line 98

def calculate_volume!
  CADMesh.stl_calculate_volume(@stl_ptr)
  self
end