Skip to main content

Cull Duplicate Points

Remove duplicate points from a geometry

Holly Conrad Smith avatar
Written by Holly Conrad Smith
Updated over 2 weeks ago

Sometimes a geometry can have many control points in almost the same spot, especially when copied from the map. This node can help you clean it up!

Category: Geometric Operations

Kind: Operation

Tags: Remove Duplicates, De Duplicate, Clean, Simplify

Description: Remove duplicate points from a geometry

Inputs

Name

Abbreviation

Type

Access

Description

Points

P

Vector

List

The points to cull

Outputs

Name

Abbreviation

Type

Access

Description

Points

P

Vector

List

Culled points

Indices

I

Number

List

The indices of the culled points

How to

  1. Feed in a list of points

  2. The node checks if any of the points have the same coordinates

  3. The result is the list of points with duplicates removed.

Example:

Get the control points of a geometry.

Feed the control points into Cull Duplicate Points

Recreate the Polygon from the Points.

Did this answer your question?