Methods_T_Rhino_Geometry_Collections_MeshNgonList - mcneel/rhinocommon-api-docs GitHub Wiki

MeshNgonList Methods

The MeshNgonList type exposes the following members.

Methods

 

Name Description
Public method AddNgon Appends a new ngon to the end of the mesh ngon list.
Public method AddNgons Appends a list of ngons to the end of the mesh ngon list.
Public method AddPlanarNgons(Double) Add an ngon for each group of connected coplanar faces.
Public method AddPlanarNgons(Double, Int32, Int32, Boolean) Add an ngon for each group of connected coplanar faces.
Public method Clear Clears the Ngon list on the mesh.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Gets an enumerator that yields all ngons in this collection.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetNgon Returns the mesh ngon at the given index.
Public method GetNgonBoundary Get a list of vertices that form the boundary of a face set. This is often use to get n-gon boundaries.
Public method GetNgonBoundingBox(Int32) Gets the bounding box of an ngon.
Public method GetNgonBoundingBox(MeshNgon) Gets the bounding box of an ngon.
Public method GetNgonCenter(Int32) Gets the center point of an ngon. This the avarage of the corner points.
Public method GetNgonCenter(MeshNgon) Gets the center point of an ngon. This the avarage of the corner points.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Insert Inserts a mesh ngon at a defined index in this list.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NgonBoundaryVertexList Get an ngon's boundary points.
Public method NgonIndexFromFaceIndex Returns the index of a mesh ngon the face belongs to.
Public method RemoveAt Removes an ngon from the mesh.
Public method RemoveNgons Remove one or more ngons from the mesh.
Public method SetNgon Set an ngon in this list.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

MeshNgonList Class
Rhino.Geometry.Collections Namespace

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