VolMeshObject.draw_vertices

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

Draw the vertices of the mesh.

Parameters:
verticeslist[int], optional

The vertices to include in the drawing. Default is all vertices.

colortuple[float, float, float] | compas.colors.Color | dict[int, tuple[float, float, float] | compas.colors.Color], 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.

textdict[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.