using System.Numerics; namespace NaturalNeighbor { /// /// Represents triangle on XY plane /// public class Triangle { /// /// Constructs an instance of the triangle /// /// /// /// public Triangle(Vector2 p1, Vector2 p2, Vector2 p3) { P1 = p1; P2 = p2; P3 = p3; } /// /// The first corner /// public Vector2 P1 { get; } /// /// The second corner /// public Vector2 P2 { get; } /// /// The third corner /// public Vector2 P3 { get; } } }