2
0

IntersectionDefinition.cs 598 B

1234567891011121314151617181920
  1. namespace Terminal.Gui;
  2. internal class IntersectionDefinition
  3. {
  4. internal IntersectionDefinition (Point point, IntersectionType type, StraightLine line)
  5. {
  6. Point = point;
  7. Type = type;
  8. Line = line;
  9. }
  10. /// <summary>The line that intersects <see cref="Point"/></summary>
  11. internal StraightLine Line { get; }
  12. /// <summary>The point at which the intersection happens</summary>
  13. internal Point Point { get; }
  14. /// <summary>Defines how <see cref="Line"/> position relates to <see cref="Point"/>.</summary>
  15. internal IntersectionType Type { get; }
  16. }