distance3d.plotting.plot_tetrahedron

distance3d.plotting.plot_tetrahedron(ax, vertices, show_triangles=False)[source]

Plot tetrahedron.

Parameters:
axMatplotlib 3d axis

A matplotlib 3d axis.

verticesarray, shape (4, 3)

Vertices of the tetrahedron.

show_trianglesbool, optional (default: False)

Show edges of triangles in different color.