Skip to main content

Cull Duplicate Points

Remove duplicate points from a geometry

Written by Holly Conrad Smith

Use this when you want to remove repeated points from a geometry within a flow, for example cleaning up geometry before running boolean or area operations.

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 (Polygon from Points).

Did this answer your question?