Skip to content

Methods_T_Rhino_Geometry_VolumeMassProperties

Will Pearson edited this page Aug 12, 2016 · 2 revisions

VolumeMassProperties Methods

The VolumeMassProperties type exposes the following members.

Methods

 

Name Description
Public methodStatic member Compute(Brep) Compute the VolumeMassProperties for a single Brep.
Public methodStatic memberCode example Compute(Mesh) Compute the VolumeMassProperties for a single Mesh.
Public methodStatic member Compute(Surface) Compute the VolumeMassProperties for a single Surface.
Public method Dispose() Actively reclaims unmanaged resources that this instance uses.
Protected method Dispose(Boolean) For derived class implementers. This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.

Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Passively reclaims unmanaged resources when the class user did not explicitly call Dispose(). (Overrides Object.Finalize().)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Sum Sum mass properties together to get an aggregate mass.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

VolumeMassProperties Class
Rhino.Geometry Namespace

Clone this wiki locally