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