T_Rhino_Geometry_Collections_MeshVertexStatusList - mcneel/rhinocommon-api-docs GitHub Wiki

MeshVertexStatusList Class

Provides access to status information relative to components of a mesh.

Inheritance Hierarchy

System.Object
  Rhino.Geometry.Collections.MeshVertexStatusList
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public class MeshVertexStatusList : IList<bool>, 
	ICollection<bool>, IEnumerable<bool>, IEnumerable, IList, 
	ICollection, IReadOnlyList<bool>, IReadOnlyCollection<bool>

VB

Public Class MeshVertexStatusList
	Implements IList(Of Boolean), ICollection(Of Boolean), 
	IEnumerable(Of Boolean), IEnumerable, IList, ICollection, 
	IReadOnlyList(Of Boolean), IReadOnlyCollection(Of Boolean)

The MeshVertexStatusList type exposes the following members.

Properties

 

Name Description
Public property Capacity Gets or sets the total number of hidden vertex information the internal data structure can hold without resizing.
Public property Count Gets or sets the number of hidden vertices. For this to be a valid part of a mesh, this count should be the same as the one of mesh vertices.
Public property HiddenCount Gets a value indicating how many vertices have been set to hidden.
Public property Item Gets or sets the hidden value at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.
  Back to Top

Methods

 

Name Description
Public method Add Adds a new flag at the end of the list.
Public method AddRange Appends an array, a list or any enumerable of flags to the end of the list.
Public method Clear Clears the hidden vertex list on the mesh. This results in a fully visible mesh.
Public method Contains Determines if some vertices are hidden or some are shown.
Public method CopyTo Copies to an array, starting at an index.
Public method Destroy Releases all memory allocated to store hidden vertices. The list capacity will be 0 after this call. Vertices will be immediately considered visible.

Subsequent calls can add new items.

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 flags in this collection.
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

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

Rhino.Geometry.Collections Namespace

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