Skip to content

MeshNgonList

Public Class

Provides access to the ngons and ngon-related functionality of a Mesh. See also the

property for Ngon functionality details.

Inheritance Hierarchy

System.Object
Rhino.Geometry.Collections.MeshNgonList

Namespace: Rhino.Geometry.Collections

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class MeshNgonList : IResizableList<MeshNgon>,
IList<MeshNgon>, ICollection<MeshNgon>, IEnumerable<MeshNgon>,
IEnumerable, IList, ICollection, IReadOnlyList<MeshNgon>,
IReadOnlyCollection<MeshNgon>

The MeshNgonList type exposes the following members.

Properties

Name

Description


Public Property

Gets or sets the number of mesh ngons.


Public Property

Returns the mesh ngon at the given index.


Public Property

Gets or sets the number of mesh ngons.


Methods

Name

Description


Public Method

Appends a new ngon to the end of the mesh ngon list.


Public Method

Appends a list of ngons to the end of the mesh ngon list.


Public Method

Add an ngon for each group of connected coplanar faces.


Public Method

Add an ngon for each group of connected coplanar faces.


Public Method

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

Gets an enumerator that yields all ngons in this collection.


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Returns the mesh ngon at the given index.


Public Method

Get a list of vertices that form the boundary of a face set. This is often use to get ngon boundaries.


Public Method

Gets the bounding box of an ngon.


Public Method

Gets the bounding box of an ngon.


Public Method

Gets the center point of an ngon.

This the average of the corner points.


Public Method

Gets the center point of an ngon.

This the average of the corner points.


Public Method

Gets the complete edge count of an ngon.


Public Method

Gets the outer edge count of an ngon.


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Public Method

Inserts a mesh ngon at a defined index in this list.


Public Method
IsValid(Int32)

Tests an ngon to see if the vertex and face references are valid and pass partial boundary validity checks.


Public Method
IsValid(Int32, TextLog)

Tests an ngon to see if the vertex and face references are valid and pass partial boundary validity checks.


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Get an ngon’s boundary points.


Public Method
NgonHasHoles

Determines whether a ngon has holes.


Public Method

Returns the index of a mesh ngon the face belongs to.


Public Method

Determine if the ngon’s boundary orientation matches that of the set of faces it is made from.


Public Method

Removes an ngon from the mesh.


Public Method

Remove one or more ngons from the mesh.


Public Method

Reverse the order of the m_vi[] array for an ngon


Public Method

Set an ngon in this list.


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)