Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: IEnumerable<PointD[]> Triangulate(this IEnumerable<PointD>)

  • Declared in: RT.Modeling.Md

Declaration

public static IEnumerable<PointD[]> Triangulate(
    this IEnumerable<PointD> polygon
)

Summary

Triangulates a polygon in 2D space.

Parameters

this IEnumerable<PointD>polygon The polygon to triangulate.

Returns

A collection of 2D triangles.

Exceptions

  • System.InvalidOperationException
    The polygon is not coherent.