IVoronoi.cs 948 B

123456789101112131415161718192021222324252627282930313233
  1. // -----------------------------------------------------------------------
  2. // <copyright file="IVoronoi.cs" company="">
  3. // Triangle.NET code by Christian Woltering, http://triangle.codeplex.com/
  4. // </copyright>
  5. // -----------------------------------------------------------------------
  6. namespace UnityEngine.U2D.Animation.TriangleNet
  7. .Voronoi.Legacy
  8. {
  9. using System.Collections.Generic;
  10. using Animation.TriangleNet.Geometry;
  11. /// <summary>
  12. /// Voronoi diagram interface.
  13. /// </summary>
  14. internal interface IVoronoi
  15. {
  16. /// <summary>
  17. /// Gets the list of Voronoi vertices.
  18. /// </summary>
  19. Point[] Points { get; }
  20. /// <summary>
  21. /// Gets the list of Voronoi regions.
  22. /// </summary>
  23. ICollection<VoronoiRegion> Regions { get; }
  24. /// <summary>
  25. /// Gets the list of edges.
  26. /// </summary>
  27. IEnumerable<IEdge> Edges { get; }
  28. }
  29. }