Methods_T_Rhino_Geometry_AreaMassProperties - mcneel/rhinocommon-api-docs GitHub Wiki

AreaMassProperties Methods

The AreaMassProperties type exposes the following members.

Methods

 

Name Description
Public methodStatic member Compute(Brep) Computes an AreaMassProperties for a brep.
Public methodStatic member Compute(Curve) Computes an AreaMassProperties for a closed planar curve.
Public methodStatic member Compute(IEnumerable(GeometryBase)) Computes the Area properties for a collection of geometric objects. At present only Breps, Surfaces, Meshes and Planar Closed Curves are supported.
Public methodStatic member Compute(Hatch) Computes an AreaMassProperties for a hatch.
Public methodStatic member Compute(Mesh) Computes an AreaMassProperties for a mesh.
Public methodStatic member Compute(Surface) Computes an AreaMassProperties for a surface.
Public methodStatic member Compute(Curve, Double) Computes an AreaMassProperties for a closed planar curve.
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 ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

AreaMassProperties Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️