SubDVertexList
ReferencesProvides access to all the vertices and vertex-related functionality of a SubD
Properties
Methods
Add a new vertex to the end of the Vertex list.
Parameters:
| tag (SubDVertexTag) | The type of vertex tag, such as smooth or corner. |
| vertex (Point3d) | Location of new vertex. |
Returns: The newly added vertex.
Exceptions:
| ArgumentOutOfRangeException | If tag is unset or non-defined. |
Find a vertex in this SubD with a given id
Parameters:
| id (int) |
Find a vertex in this SubD with a given id
Parameters:
| id (uint) |
Implementation of IEnumerable, so a vertex list can be used with foreach and LINQ the same way SubDEdgeList and SubDFaceList can.
Remarks: Note that this list has both a First property and, now that it is enumerable, a LINQ First() extension method. They disagree on an empty SubD: the property returns null and First() throws.
Set vertex tags for a list of vertices. Useful for adding creases to SubDs
Parameters:
| vertexIndices (IEnumerable<int>) | list of indices for the vertices to set tags on |
| tag (SubDVertexTag) | The type of vertex tag |
Set vertex tags for a list of vertices. Useful for adding creases to SubDs
Parameters:
| vertices (IEnumerable<SubDVertex>) | list of vertices to set a specific tag on |
| tag (SubDVertexTag) | The type of vertex tag |