Click or drag to resize

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
SystemObject
  Rhino.Geometry.CollectionsMeshTopologyVertexList

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class MeshTopologyVertexList : IEnumerable<Point3f>, 
	IEnumerable

The MeshTopologyVertexList type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets or sets the number of mesh topology vertices.
Public propertyItem
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.
Top
Methods
  NameDescription
Public methodConnectedEdge
Gets a particular edge that is connected to a topological vertex.

Call TopologyVertices.SortVertices before this if you are interested in ordered edges.

Public methodConnectedEdges
Gets all edges that are connected to a given vertex.

Call TopologyVertices.SortVertices before this if you are interested in ordered edges.

Public methodConnectedEdgesCount
Gets the count of edges that are connected to a given vertex.
Public methodConnectedFaces
Gets all faces that are connected to a given vertex.
Public methodConnectedTopologyVertices(Int32)
Gets all topological vertices that are connected to a given vertex.
Public methodConnectedTopologyVertices(Int32, Boolean)
Gets all topological vertices that are connected to a given vertex.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets an enumerator that yields all topology vertices in this collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndicesFromFace
Returns TopologyVertexIndices for a given mesh face index.
Public methodIsHidden
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 methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMeshVertexIndices
Gets all indices of the mesh vertices that a given topology vertex represents.
Public methodSortEdges
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 methodSortEdges(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 methodTopologyVertexIndex
Gets the topology vertex index for an existing mesh vertex in the mesh's VertexList.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.9
See Also