跳转到主要内容

raygeo.geo.algo.analysis

Path analysis utilities for inspecting and cleaning geometry data.

Provides functions for removing duplicate points from point sequences and extracting individual points from path data.

Functions

remove_duplicates()

remove_duplicates(points: Sequence[Point]) -> Polygon

Remove duplicate points from a sequence.

Returns: List of unique points.

ParameterTypeDescription
pointsSequence[Point]Sequence of (x, y) points.
ReturnsPolygon