Closed martinmaxk closed 3 years ago
It's very common implementation. You can look on it in wiki or the first link in google give me a nice pdf article.
First step is break your path into this monotone-polygons that was iShape.Triangulation.Shape.LayoutExt.public static MonotoneLayout Split(this PlainShape shape, long maxEdge, NativeArray
about TriangulationExt
public static NativeArray
It is stated this implementation is based on "Triangulation of monotone polygons", but I was unable to find an article of that name and also there must be an extra step before this of converting polygons to monotone pieces.
What algorithm is used in TriangulationExt.cs?