Hi,

I´m having problems writing a script that could sort a list, to find
points that are non-duplicates.
I have a list of points that I use to create other points, but then I
get a list of points with both the new and old points in an unordered
list. There is no regularity in when the duplicate points appear in
the list, so I can´t use a simple cull pattern.

I then wrote this script

 Dim ny As New List(Of On3dPoint)
    Dim sand As Boolean = True
    For i As int32 = 0 To p1.count - 1
      For f As int32 = 0 To p2.count - 1
        If p1(i) = p2(f) Then
          sand = False
        End If
      Next
      If sand = True Then
        ny.add(p1(i))
      End If
      sand = True
      A = ny
    Next

 to solve the problem but it doesn´t always work, since it doesn´t
evaluate one both x, y and z at the same time.

I hope that you might be able to give me a hint of what I need to do
to get this working.

Thanks

Reply via email to