The GetVertexConnectedToFaceVertex
method retrieves the vertex handle that is connected to a specified face vertex within a polygon mesh. This method is part of the PolygonMesh
class, which represents an editable mesh composed of polygons.
The GetVertexConnectedToFaceVertex
method retrieves the vertex handle that is connected to a specified face vertex within a polygon mesh. This method is part of the PolygonMesh
class, which represents an editable mesh composed of polygons.
To use this method, you need to have a HalfEdgeMesh.HalfEdgeHandle
that represents a face vertex. Pass this handle as a parameter to the method, and it will return the corresponding HalfEdgeMesh.VertexHandle
that is connected to the face vertex.
// Assume 'polygonMesh' is an instance of PolygonMesh HalfEdgeMesh.HalfEdgeHandle faceVertexHandle = ...; // Obtain a face vertex handle HalfEdgeMesh.VertexHandle connectedVertex = polygonMesh.GetVertexConnectedToFaceVertex(faceVertexHandle); // Use 'connectedVertex' as needed