Π·Π΅ΡΠΊΠ°Π»ΠΎ ΠΈΠ· https://github.com/SixLabors/Shapes.git
3a18d816c7 | ||
---|---|---|
src | ||
tests | ||
.editorconfig | ||
.gitignore | ||
APACHE-2.0-LICENSE.txt | ||
LICENSE | ||
README.md | ||
Shaper2D.ruleset | ||
Shaper2D.sln | ||
appveyor.yml | ||
build.cmd | ||
gitversion.yml | ||
global.json |
README.md
Shaper2D
Shaper2D is a new cross-platform 2D polygon manipulation AP.
Installation
At present the code is pre-release but when ready it will be available on Nuget.
Pre-release downloads
We already have a MyGet package repository - for bleeding-edge / development NuGet releases.
Manual build
If you prefer, you can compile Shaper2D yourself (please do and help!), you'll need:
- Visual Studio 2015 with Update 3 (or above)
- The .NET Core 1.0 SDK Installer - Non VSCode link.
To clone it locally click the "Clone in Windows" button above or run the following git commands.
git clone https://github.com/tocsoft/Shaper2D
Features
- Point in Polygon
- Line Intersections
- Complex Polygons (with holes, this can be contained or overlap(we fix them for you))
- Polygons
- With Liniear line segments
- With Beziear curve linesegments
- Mixes Linear & beziear segments
- Paths
- With Liniear line segments
- With Beziear curve linesegments
- Mixes Linear & beziear segments
API
TODO add api example in here (missing polygon builder class)
How can you help?
Please... Spread the word, contribute algorithms, submit performance improvements, unit tests.
Projects using Shaper2D
None yet but should soon be used by SvgSharp and ImageSharp.
The Shaper2D Team
Lead