69 rotate(
angle_ll(ll, lr), cross(ll, lr))
z_axis3d_ul
<line-3d> A positively-directed unit line centered on the z-axis in 3d Euclidean space.
z_axis_ci
<integer> The coordinate axis index for the Euclidean space z-axis.
origin3d
<point-3d> The origin point coordinate in 3-dimensional Euclidean space.
y_axis3d_ul
<line-3d> A positively-directed unit line centered on the y-axis in 3d Euclidean space.
x_axis3d_ul
<line-3d> A positively-directed unit line centered on the x-axis in 3d Euclidean space.
zero3d
<decimal-list-2> A 3d zero vector (a list with three zeros).
function line_tp(l)
Return the terminal point of a line or vector.
function angle_ll(l1, l2, s=true)
Compute the angle between two lines or vectors in a 3d or 2d-space.
function vol_to_origin(l)
Convert line to vector by shifting it to the origin.
function point_to_3d(p)
Return 3d point unchanged or add a zeroed third dimension to 2d point.
function line_ip(l)
Return the initial point of a line or vector.
function cross_ll(l1, l2)
Compute the cross product of two lines or vectors in a 3d or 2d-space.
function mean(v)
Compute the mean/average of a list of numbers.
function select_ci(v, i, l=true)
Select specified element from list or return a default.