MeshArtist.draw_vertices

abstract MeshArtist.draw_vertices(vertices=None, color=None, text=None)[source]

Draw the vertices of the mesh.

Parameters
  • vertices (list[int], optional) – The vertices to include in the drawing. Default is all vertices.

  • color (Union[tuple[float, float, float], dict[int, tuple[float, float, float]]], optional) – The color of the vertices, as either a single color to be applied to all vertices, or a color dict, mapping specific vertices to specific colors.

  • text (dict[int, str], optional) – The text labels for the vertices as a text dict, mapping specific vertices to specific text labels.

Returns

list – The identifiers of the objects representing the vertices in the visualization context.