27 lines
796 B
C#
27 lines
796 B
C#
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);
|
|
}
|
|
}
|