1234567891011121314151617181920212223242526 |
- namespace UnityEngine.U2D.Animation.TriangleNet
- .Meshing
- {
- using Animation.TriangleNet.Geometry;
- /// <summary>
- /// Interface for polygon triangulation.
- /// </summary>
- internal interface IConstraintMesher
- {
- /// <summary>
- /// Triangulates a polygon.
- /// </summary>
- /// <param name="polygon">The polygon.</param>
- /// <returns>Mesh</returns>
- IMesh Triangulate(IPolygon polygon);
- /// <summary>
- /// Triangulates a polygon, applying constraint options.
- /// </summary>
- /// <param name="polygon">The polygon.</param>
- /// <param name="options">Constraint options.</param>
- /// <returns>Mesh</returns>
- IMesh Triangulate(IPolygon polygon, ConstraintOptions options);
- }
- }
|