Bir impimple olyolygon Triangulation
Contents
[
Hide
]
Using Aspose.3D for .NET API, developers can triangulate a simple polygon. Any polygon can be divided into triangles. All of the operations and calculations for triangles can be piecewise applied to the polygon.
Priangulating bir olyolygon
Developers might pick vertices from a polygon area, and then form triangles by calling Triangulate
method of the PolygonModifier
class, each of the form V{1}, V{i-1}, V{i} with the index i going from 3 to n. The Vertex
and PolygonCanvas
classes in Triangulate/PolygonCanvas.cs
file under the demo application (name:Triangulate) demonstrates the way of triangulating a polygon using Aspose.3D API.
We have prepared a demo project. Please refer to this URL.
Trogramming TTriangulation için yeterli
Bu kod örneği bir çokgen alanından dikenleri alır ve daha sonra üçgenler oluşturmak için bir algoritma uygular. Bu örneğin tam çalışma projesini Burada ‘dan indirebilirsiniz.