MeshVertexList Class |
Namespace: Rhino.Geometry.Collections
The MeshVertexList type exposes the following members.
Name | Description | |
---|---|---|
Capacity |
Gets or sets the total number of vertices the internal data structure can hold without resizing.
| |
Count |
Gets or sets the number of mesh vertices.
| |
Item |
Gets or sets the vertex at the given index.
The index must be valid or an IndexOutOfRangeException will be thrown.
| |
UseDoublePrecisionVertices |
Set to true if the vertices should be stored in double precision
|
Name | Description | |
---|---|---|
Add(Point3d) |
Adds a new vertex to the end of the Vertex list.
| |
Add(Point3f) |
Adds a new vertex to the end of the Vertex list.
| |
Add(Double, Double, Double) |
Adds a new vertex to the end of the Vertex list.
| |
Add(Single, Single, Single) |
Adds a new vertex to the end of the Vertex list.
| |
AddVertices(IEnumerablePoint3d) |
Adds a series of new vertices to the end of the vertex list.
This overload accepts double-precision points. | |
AddVertices(IEnumerablePoint3f) |
Adds a series of new vertices to the end of the vertex list.
This overload accepts single-precision points. | |
Align(Double, IEnumerableBoolean) |
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 | |
Align(IEnumerableMesh, Double, IEnumerableIEnumerableBoolean) |
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 | |
Clear |
Clears the Vertex list on the mesh.
| |
CombineIdentical |
Merges identical vertices.
| |
CullUnused |
Removes all vertices that are currently not used by the Face list.
| |
Destroy |
Releases all memory allocated to store faces. The list capacity will be 0 after this call.
Subsequent calls can add new items. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetConnectedVertices |
Gets indices of all vertices that form "edges" with a given vertex index.
| |
GetEnumerator |
Gets an enumerator that yields all mesh vertices (points) in this collection.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetTopologicalIndenticalVertices |
Gets a list of other vertices which are "topologically" identical
to this vertex.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVertexFaces |
Gets a list of all of the faces that share a given vertex.
| |
Hide |
Hides the vertex at the given index.
| |
HideAll |
Hides all vertices in the mesh.
| |
IsHidden |
Gets a value indicating whether or not a vertex is hidden.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Point3dAt |
Get double precision location at a given index
| |
Remove(IEnumerableInt32, Boolean) |
Removes the vertices at the given indices and all faces that reference those vertices.
| |
Remove(Int32, Boolean) |
Removes the vertex at the given index and all faces that reference that index.
| |
SetVertex(Int32, Point3d) |
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. | |
SetVertex(Int32, Point3f) |
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. | |
SetVertex(Int32, Double, Double, Double) |
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. | |
SetVertex(Int32, Single, Single, Single) |
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. | |
SetVertex(Int32, Double, Double, Double, Boolean) |
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. | |
Show |
Shows the vertex at the given index.
| |
ShowAll |
Shows all vertices in the mesh.
| |
ToFloatArray |
Copies all vertices to a linear array of float in x,y,z order
| |
ToPoint3dArray |
Copies all vertices to a new array of Point3d.
| |
ToPoint3fArray |
Copies all vertices to a new array of Point3f.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |