distance3d.plotting.plot_convex

distance3d.plotting.plot_convex(ax, mesh2origin, vertices, triangles, alpha=0.5, color='b')[source]

Plot convex mesh.

Parameters:
axMatplotlib 3d axis

A matplotlib 3d axis.

mesh2originarray, shape (4, 4)

Pose of the mesh.

verticesarray, shape (n_points, 3)

Vertices of the convex mesh.

trianglesarray, shape (n_triangles, 3)

Vertex indices of faces.

alphafloat, optional (default: 0.5)

Alpha value of faces.

colorstr

Color of faces.