distance3d.plotting.plot_triangle¶
- distance3d.plotting.plot_triangle(ax, triangle_points, surface_alpha=0.1)[source]¶
Plot triangle.
- Parameters:
- axMatplotlib 3d axis
A matplotlib 3d axis.
- triangle_pointsarray, shape (3, 3)
Each row contains a point of the triangle (A, B, C).
- surface_alphafloat, optional (default: 0.1)
Alpha value of the rectangle surface.