Skip to content

MeshVertexList

Public Class

Provides access to the vertices and vertex-related functionality of a mesh.

Inheritance Hierarchy

System.Object
Rhino.Geometry.Collections.MeshVertexList

Namespace: Rhino.Geometry.Collections

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

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

The MeshVertexList type exposes the following members.

Properties

Name

Description


Public Property

Gets or sets the total number of vertices the internal data structure can hold without resizing.


Public Property

Gets or sets the number of mesh vertices.


Public Property

Gets or sets the vertex at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.


Public Property

Set to true if the vertices should be stored in double precision


Methods

Name

Description


Public Method

Adds a new vertex to the end of the Vertex list.


Public Method

Adds a new vertex to the end of the Vertex list.


Public Method
Code Example

Adds a new vertex to the end of the Vertex list.


Public Method
Code Example

Adds a new vertex to the end of the Vertex list.


Public Method

Adds a series of new vertices to the end of the vertex list.

This overload accepts double-precision points.


Public Method

Adds a series of new vertices to the end of the vertex list.

This overload accepts single-precision points.


Public Method

Moves mesh vertices that belong to naked edges to neighboring vertices, within the specified distance.

This forces unaligned mesh vertices to the same location and is helpful to clean meshes for 3D printing.

See the

_AlignMeshVertices

Rhino command for more information.


Public Method
Static Member

Moves mesh vertices that belong to naked edges to neighboring vertices, within the specified distance.

This forces unaligned mesh vertices to the same location and is helpful to clean meshes for 3D printing.

See the

_AlignMeshVertices

Rhino command for more information.


Public Method

Clears the Vertex list on the mesh.


Public Method

Merges identical vertices.


Public Method

Removes all vertices that are currently not used by the Face list.


Public Method

Releases all memory allocated to store faces. The list capacity will be 0 after this call.

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

Gets indices of all vertices that form “edges” with a given vertex index.


Public Method

Gets an enumerator that yields all mesh vertices (points) in this collection.


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Gets a list of other vertices which are “topologically” identical to this vertex.


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Public Method

Gets a list of all of the faces that share a given vertex.


Public Method

Hides the vertex at the given index.


Public Method

Hides all vertices in the mesh.


Public Method

Gets a value indicating whether or not a vertex is hidden.


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Get double precision location at a given index


Public Method

Removes the vertices at the given indices and all faces that reference those vertices.


Public Method

Removes the vertex at the given index and all faces that reference that index.


Public Method

Sets or adds a vertex to the Vertex List.

If [index] is less than [Count], the existing vertex at [index] will be modified.

If [index] equals [Count], a new vertex is appended to the end of the vertex list.

If [index] is larger than [Count], the function will return false.


Public Method

Sets or adds a vertex to the Vertex List.

If [index] is less than [Count], the existing vertex at [index] will be modified.

If [index] equals [Count], a new vertex is appended to the end of the vertex list.

If [index] is larger than [Count], the function will return false.


Public Method

Sets or adds a vertex to the Vertex List.

If [index] is less than [Count], the existing vertex at [index] will be modified.

If [index] equals [Count], a new vertex is appended to the end of the vertex list.

If [index] is larger than [Count], the function will return false.


Public Method

Sets or adds a vertex to the Vertex List.

If [index] is less than [Count], the existing vertex at [index] will be modified.

If [index] equals [Count], a new vertex is appended to the end of the vertex list.

If [index] is larger than [Count], the function will return false.


Public Method

Sets or adds a vertex to the Vertex List.

If [index] is less than [Count], the existing vertex at [index] will be modified.

If [index] equals [Count], a new vertex is appended to the end of the vertex list.

If [index] is larger than [Count], the function will return false.


Public Method

Shows the vertex at the given index.


Public Method

Shows all vertices in the mesh.


Public Method

Copies all vertices to a linear array of float in x,y,z order


Public Method

Copies all vertices to a new array of Point3d.


Public Method

Copies all vertices to a new array of Point3f.


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)