Points in closed curve

Hi,

I’m having trouble finding the points inside a closed curve. I tried to run the Brep component and Cull the points but for some reason, it doesn’t work.


11 APRIL 2019 - POINTS INSIDE CURVE.gh (29.7 KB)

Hi @tigerpix,

Instead of using BrepInc, simply switch to the more appropriate InCurve, which specifically evaluates a point for closed curve containment.


Here you can even differentiate between outside, inside and coincident points.

11 APRIL 2019 - POINTS INSIDE CURVE 02.gh (17.5 KB)

1 Like

Thanks very much for your reply. I have one more question, how can I create a surface based on these points? when I use “Surface from points” and connect “P” to the grid I’m having difficulty defining the “U count”. I appreciate your help.

1 Like

You’re welcome. Your best bet would be to turn your closed curve into a boundary surface.