Skip to content

magnushenning/simplify.net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplify.NET

Simplify.NET is a high-performance polyline simplification library written in C# for .NET.

Demo

Visit http://mourner.github.io/simplify-js/

Usage

using Simplify.NET;

double tolerance    = 5;
bool highestQuality = false;
var bigList         = new List<Point>() { new Point(0, 500), new Point(1, 1000), ... };

var simplifiedList  = SimplifyNet.Simplify(bigList, tolerance, highestQuality);

Nuget

https://www.nuget.org/packages/Simplify.NET/

API

Namespace: Simplify.NET

Method Argument 1 Argument 2 Argument 3
SimplifyNet.Simplify List<Point> points double tolerance (default: 1) bool highestQuality (default: false)
SimplifyNet.Point double x double y

Based on Simplify.js by Vladimir Agafonki

Releases

No releases published

Packages

No packages published

Languages