algorithmic modeling for Rhino
Hi guys
I can not understand why in this definition, the dot product of two orthogonal vectors is not zero.
can someone explain me why?
Thanks in advance
Tags:
It is zero when I opened it.
the problem remains, maybe the cause is some setting of rhino?really i don't understand ...
Please help me
-1.0057e-15 is zero within 10-14, or 0.00000000000001 units, tolerance, which means you could consider this 0. You have to always consider tolerance with this type of calculations. This is computation with double-precision floating point arithmetics.
Thanks,
- Giulio
________________
giulio@mcneel.com
-1.0057e-15 is the scientific notation for the number 0.0000000000000010057.
It's safe to say that it is 0. The discrepancy is cause by rounding errors in the calculation when using floating point numbers. You can read more about accuracy issues here
giulio and Danny thanks so much,I had forgotten this type of problem.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by