Check how many edges connected to point



  • On 08/12/2015 at 10:54, xxxxxxxx wrote:

    What I want to do is check how many edges is connected to a point and delete the points that only has two edges connected to it. Hope it makes sense😊

    Thanks



  • On 08/12/2015 at 13:05, xxxxxxxx wrote:

    You can look at this in a different way.
    If a point is only connected by two edges, this means those two edges are from the same polygon (right?).
    There is this Neighbor.GetPointPolys(pnt) function to get the polygons sharing a point.
    So, if the returned list only contains a single polygon, you have your point to be deleted.



  • On 09/12/2015 at 01:29, xxxxxxxx wrote:

    Hello,

    as C4DS pointed out, you can use the Neighbor class to get useful information for such tasks.

    Best wishes,
    Sebastian


Log in to reply