<-Back

Function: Parallel-Vectors?

parallel-vectors? boolean

Returns non-nil iff vector-1 and vector-2 are pointing in the same direction or opposite directions.

arguments:
vector-1 3D Vector
vector-2 3D Vector
keyword arguments:
tolerance Number, Default Value: *zero-epsilon*
directed? Boolean, Default Value: nil
If :directed? is t, the function returns t if the vectors are both parallel and point in the same direction. The default is nil, meaning that the function will return t regardless of which way the vectors point, as long as they are parallel

<-Back