algorithmic modeling for Rhino
Hi Marcus,
If what you want to test is the direction of the vectors, you can simply use the difference between 1 and the absolute value of the dot product of your two unitized vectors. If you want to compare the amplitude, it is a property of the Vector3D class.
or you can just subtract both and check the length of the result against a tolerance.
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by