Categories
2D Delaunay Triangulation Examples in C++

Offset Polygons in C++ (Example 13)

Creating an offset polygon without self-intersections is a surprisingly complex task. Therefore, Fade2D provides functions to compute positive or negative offsets for shapes, ensuring that the resulting offset contours are free from self-intersections. In this article, we will explain the source code from Example 13, located in the examples_2D/ex13_polygonOffset.cpp file in the Fade2D package, which…Continue readingOffset Polygons in C++ (Example 13)