namespace UnityEngine.U2D.Animation.TriangleNet .Meshing { using Animation.TriangleNet.Geometry; /// /// Interface for polygon triangulation. /// internal interface IConstraintMesher { /// /// Triangulates a polygon. /// /// The polygon. /// Mesh IMesh Triangulate(IPolygon polygon); /// /// Triangulates a polygon, applying constraint options. /// /// The polygon. /// Constraint options. /// Mesh IMesh Triangulate(IPolygon polygon, ConstraintOptions options); } }