Check whether the polygon(curve) is within the boundary

unhandled

(Jhyunetp1) #1

Hi all?

I wanna Check whether the polygon(curve) is within the boundary in order to do galapagos operation.

Although I did my best , I couldn’t find the solution for it.

Anyone who can help me?

thank you so much in advance


(Tim Stark) #2

Which boundary ?
You could use the controllpoints of the curve to check with “Point in Curve” if all Points are in the boundary, ist inside. half of the Points= intersecting and no Points= outside
If your boundary is like a “star” for example, you also have to check for intersection of the curve and boundary. Not that the Points are inside, but the curve crosses the boundary


(Jhyunetp1) #3

Your answer was helpful!! Thank you so much!


(qythium) #4

You could also use the Region Difference component to check if the (inner polygon) - (outer boundary) region is empty (length of list = 0)


(Jhyunetp1) #5

Very helpful !!! Thx!!!