You should check relations between normal vectors of planes...
If vectors are parallel, then their unit vectors have absolute value of dot product = 1.0;
If vectors are normal, then their unit vectors have value of dot product = 0.0
(defun unit (v)
(mapcar '(lambda (x) (/ x (distance '(0.0 0.0 0.0) v))) v)
)
- parallel vectors : a , b
(abs (apply '+ (mapcar '* (unit a) (unit b))))
1.0
* cross product is = 0 vector '(0.0 0.0 0.0)
- normal vectors : a , b
(apply '+ (mapcar '* (unit a) (unit b)))
0.0
* cross product is = nor vector to both vectors a and b