algorithmic modeling for Rhino
Since you posted this in the C#/VB forum, you can use the static method on Interval to create an interval that is the intersection of two existing intervals. If this method returns an invalid interval, the two did not intersect.
Dim intX As Interval = Interval.FromIntersection(intA, intB)
If (intX.IsValid) Then 'intA and intB intersect
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Many thanks
Luke
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by