T_Rhino_Geometry_Collections_MeshTopologyVertexList - mcneel/rhinocommon-api-docs GitHub Wiki

MeshTopologyVertexList Class

Provides access to the mesh topology vertices of a mesh. Topology vertices are sets of vertices in the MeshVertexList that can topologically be considered the same vertex.

Inheritance Hierarchy

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

Syntax

C#

public class MeshTopologyVertexList : IEnumerable<Point3f>, 
	IEnumerable, IList<Point3f>, ICollection<Point3f>, 
	IList, ICollection, IReadOnlyList<Point3f>, IReadOnlyCollection<Point3f>

VB

Public Class MeshTopologyVertexList
	Implements IEnumerable(Of Point3f), IEnumerable, 
	IList(Of Point3f), ICollection(Of Point3f), IList, 
	ICollection, IReadOnlyList(Of Point3f), IReadOnlyCollection(Of Point3f)

The MeshTopologyVertexList type exposes the following members.

Properties

 

Name Description
Public property Count Gets or sets the number of mesh topology vertices.
Public property Item Gets or sets the vertex at the given index. Setting a location adjusts all vertices in the mesh's vertex list that are defined by this topological vertex The index must be valid or an IndexOutOfRangeException will be thrown.
  Back to Top

Methods

 

Name Description
Public method ConnectedEdge Gets a particular edge that is connected to a topological vertex. Call TopologyVertices.SortVertices before this if you are interested in ordered edges.
Public method ConnectedEdges Gets all edges that are connected to a given vertex. Call TopologyVertices.SortVertices before this if you are interested in ordered edges.
Public method ConnectedEdgesCount Gets the count of edges that are connected to a given vertex.
Public method ConnectedFaces Gets all faces that are connected to a given vertex.
Public method ConnectedTopologyVertices(Int32) Gets all topological vertices that are connected to a given vertex.
Public method ConnectedTopologyVertices(Int32, Boolean) Gets all topological vertices that are connected to a given vertex.
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 topology vertices 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.)
Public method IndicesFromFace Returns TopologyVertexIndices for a given mesh face index.
Public method IsHidden Returns true if the topological vertex is hidden. The mesh topology vertex is hidden if and only if all the ON_Mesh vertices it represents is hidden.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MeshVertexIndices Gets all indices of the mesh vertices that a given topology vertex represents.
Public method SortEdges() Sorts the edge list for the mesh topology vertex list so that the edges are in radial order when you call ConnectedTopologyVertices. A nonmanifold edge is treated as a boundary edge with respect to sorting. If any boundary or nonmanifold edges end at the vertex, then the first edge will be a boundary or nonmanifold edge.
Public method SortEdges(Int32) Sorts the edge list for as single mesh topology vertex so that the edges are in radial order when you call ConnectedTopologyVertices. A nonmanifold edge is treated as a boundary edge with respect to sorting. If any boundary or nonmanifold edges end at the vertex, then the first edge will be a boundary or nonmanifold edge.
Public method TopologyVertexIndex Gets the topology vertex index for an existing mesh vertex in the mesh's VertexList.
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, 5D58w

See Also

Reference

Rhino.Geometry.Collections Namespace

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