Class Polygon
- Namespace
- HelixToolkit.Geometry
- Assembly
- HelixToolkit.Geometry.dll
Represents a 2D polygon.
public sealed class Polygon
- Inheritance
-
Polygon
- Inherited Members
Properties
Points
Gets or sets the points.
public List<Vector2> Points { get; set; }
Property Value
Methods
Triangulate()
Triangulate the polygon by using the sweep line algorithm
public List<int>? Triangulate()