simplify

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DouglasPeucker

func DouglasPeucker(points []maths.Pt, tolerance float64) []maths.Pt

DouglasPeucker is a geometry simplifcation routine https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm

func SimplifyGeometry

func SimplifyGeometry(g tegola.Geometry, tolerance float64) tegola.Geometry

SimplifyGeometry applies the DouglasPeucker simplification routine to the supplied geometry

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL