See Section 14.13.5 for checking for orthogonality in three-dimensional geometry.
The is_orthogonal command determines whether or not two lines or circles are orthogonal.
Examples.