MeshTopologyVertexList
Referencespublic class MeshTopologyVertexList : IEnumerable<Point3f>, IList<Point3f>, IList, IReadOnlyList<Point3f>
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.
Properties
Indexers
this[]
#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.
Parameters:
| index (int) | Index of topology vertex to access. |
Returns: The topological vertex at [index].
Methods
Gets a particular edge that is connected to a topological vertex.
Call TopologyVertices.SortVertices before this if you are interested in ordered edges.
Gets all edges that are connected to a given vertex.
Call TopologyVertices.SortVertices before this if you are interested in ordered edges.
Parameters:
| topologyVertexIndex (int) | Index of a topology vertex in Mesh.TopologyVertices. |
Returns: Indices of all edges around vertex that are connected to this topological vertex. null if no faces are connected to this vertex.
Gets the count of edges that are connected to a given vertex.
Parameters:
| topologyVertexIndex (int) | Index of a topology vertex in Mesh.TopologyVertices. |
Returns: The amount of edges at this vertex. This can be 0.
Gets all faces that are connected to a given vertex.
Parameters:
| topologyVertexIndex (int) | Index of a topology vertex in Mesh.TopologyVertices. |
Returns: Indices of all faces in Mesh.Faces that are connected to this topological vertex. null if no faces are connected to this vertex.
Gets all topological vertices that are connected to a given vertex.
Parameters:
| topologyVertexIndex (int) | index of a topology vertex in Mesh.TopologyVertices. |
| sorted (bool) | if true, the vertices are returned in a radially sorted order. |
Returns: Indices of all topological vertices that are connected to this topological vertex. null if no vertices are connected to this vertex.
Gets all topological vertices that are connected to a given vertex.
Parameters:
| topologyVertexIndex (int) | index of a topology vertex in Mesh.TopologyVertices. |
Returns: Indices of all topological vertices that are connected to this topological vertex. null if no vertices are connected to this vertex.
Gets an enumerator that yields all topology vertices in this collection.
Returns: The enumerator.
Returns TopologyVertexIndices for a given mesh face index.
Parameters:
| faceIndex (int) | The index of a face to query. |
Returns: An array of vertex indices.
Gets all indices of the mesh vertices that a given topology vertex represents.
Parameters:
| topologyVertexIndex (int) | Index of a topology vertex in Mesh.TopologyVertices to query. |
Returns: Indices of all vertices that in Mesh.Vertices that a topology vertex represents.
Sorts the edge list for the mesh topology vertex list so that the edges are in radial order when you call ConnectedTopologyVertices. A non-manifold edge is treated as a boundary edge with respect to sorting. If any boundary or non-manifold edges end at the vertex, then the first edge will be a boundary or non-manifold edge.
Returns: true on success.
Sorts the edge list for as single mesh topology vertex so that the edges are in radial order when you call ConnectedTopologyVertices. A non-manifold edge is treated as a boundary edge with respect to sorting. If any boundary or non-manifold edges end at the vertex, then the first edge will be a boundary or non-manifold edge.
Parameters:
| topologyVertexIndex (int) | index of a topology vertex in Mesh.TopologyVertices> |
Returns: true on success.
Parameters:
| item (Point3f) |
Parameters:
| item (Point3f) |
Parameters:
| item (Point3f) |