Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: simplify for Feature<LineString>, ported from turf.js #183

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

leiflinse-trivector
Copy link
Contributor

This ports over simplify from turf.js.

In the current form it only supports Feature<LineString> while the original appears to also support Polygons. Would like some advice on that.

.toList();
}

num _round(num value, num precision) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have a round function in helpers:

num round(num value, [num precision = 0]) {

@lukas-h
Copy link
Member

lukas-h commented May 24, 2024

hey @leiflinse-trivector, any updates on this? :)

@lukas-h lukas-h merged commit 9e50c04 into dartclub:main Jul 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants