distance3d.plotting.plot_line

distance3d.plotting.plot_line(ax, line_point, line_direction, length=10)[source]

Plot line.

Parameters:
axMatplotlib 3d axis

A matplotlib 3d axis.

line_pointarray, shape (3,)

Point on line.

line_directionarray, shape (3,)

Direction of the line. This is assumed to be of unit length.

lengthfloat, optional (default: 10)

Length of the line that should be displayed, since we cannot display an infinitely long line.