ITriangulator.cs 866 B

1234567891011121314151617181920212223242526
  1. // -----------------------------------------------------------------------
  2. // <copyright file="ITriangulator.cs" company="">
  3. // Triangle.NET code by Christian Woltering, http://triangle.codeplex.com/
  4. // </copyright>
  5. // -----------------------------------------------------------------------
  6. namespace UnityEngine.U2D.Animation.TriangleNet
  7. .Meshing
  8. {
  9. using System.Collections.Generic;
  10. using Animation.TriangleNet.Geometry;
  11. /// <summary>
  12. /// Interface for point set triangulation.
  13. /// </summary>
  14. internal interface ITriangulator
  15. {
  16. /// <summary>
  17. /// Triangulates a point set.
  18. /// </summary>
  19. /// <param name="points">Collection of points.</param>
  20. /// <param name="config"></param>
  21. /// <returns>Mesh</returns>
  22. IMesh Triangulate(IList<Vertex> points, Configuration config);
  23. }
  24. }