CullDuplicatePoints



Your Ad Here

Removes duplicates from an array of 3D points.

Syntax

Rhino.CullDuplicatePoints (arrPoints)

Parameters

arrNumbers

Required.  Array.  An array of 3D points.

Returns

Array

An array of 3D points with duplicates removed if successful.

Null

If not successful or on error.

Example

Dim arr, p

arr = Rhino.GetPoints(,,"First point", "Next point")

If IsArray(arr) Then

arr = Rhino.CullDuplicatePoints(arr)

For Each p in arr

Rhino.Print Rhino.Pt2Str(p)

Next

End If

Also See

CullDuplicateNumbers

CullDuplicateStrings

Return to Rhino Index


Your Ad Here