algorithmic modeling for Rhino
So I am trying to find a way to test if a point is on a line, and haven't seem to come up with good solution, since there is much smarter people in this forum I thought I would ask here.
Currently the only thing I have come up with is if the point satisfies the equation for the line (y=mx+b) and a given range then it would be on it, but that seems overly complicated of a test.
Tags:
Use the Curve Closest Point command. Then test if the distance is 0, or very close to 0 if you find the distances are something like 0.001 using Evaluate and then go from there.
Thanks. Defiantly more workable.
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