LibTessDotNet | famous GLU Tessellator - prebuilt binaries | Computer Vision library
kandi X-RAY | LibTessDotNet Summary
kandi X-RAY | LibTessDotNet Summary
C# port of the famous GLU Tessellator - prebuilt binaries now available in "releases" tab
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of LibTessDotNet
LibTessDotNet Key Features
LibTessDotNet Examples and Code Snippets
Community Discussions
Trending Discussions on LibTessDotNet
QUESTION
Well I'm lacking GraphicsPath in Unity (to fills polygon, draw them with and outline and utilities with shapes in general), so I'm doing my own implementation of it. Well, we could debate also which is the best option, but actually, I prefer this because I'm learning a lot.
The idea is the following, given a polygon, we do an offset polygon (inwards and outwards) with ClipperLib, and later with LibTessDotNet we triangulate it, outputing this:
Green, blue and yellow pixels are the sides of every triangle. LibTessDotNet output like 501 triangles for this shape.
So, thanks to @SimpleVar I done this:
...ANSWER
Answered 2018-Dec-12 at 03:45Ok, I solved it the problem was that triangles with an area equal or less to 1 was doing the overflow. Checking this with the Heron's formula I solved it:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install LibTessDotNet
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page