IEdge.cs 844 B

123456789101112131415161718192021222324252627282930
  1. // -----------------------------------------------------------------------
  2. // <copyright file="IEdge.cs" company="">
  3. // Triangle.NET code by Christian Woltering, http://triangle.codeplex.com/
  4. // </copyright>
  5. // -----------------------------------------------------------------------
  6. namespace UnityEngine.U2D.Animation.TriangleNet
  7. .Geometry
  8. {
  9. internal interface IEdge
  10. {
  11. /// <summary>
  12. /// Gets the first endpoints index.
  13. /// </summary>
  14. int P0 { get; }
  15. /// <summary>
  16. /// Gets the second endpoints index.
  17. /// </summary>
  18. int P1 { get; }
  19. /// <summary>
  20. /// Gets or sets a general-purpose label.
  21. /// </summary>
  22. /// <remarks>
  23. /// This is used for the segments boundary mark.
  24. /// </remarks>
  25. int Label { get; }
  26. }
  27. }