29 lines
1022 B
C#
29 lines
1022 B
C#
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);
|
|
}
|
|
}
|