public Triangle(Point a, Point b, Point c) { this.Coordinates = new[] { a, b, c }; sides = new[] { ShapeUtils.GetDistance(a, b), ShapeUtils.GetDistance(b, c), ShapeUtils.GetDistance(c, a) }; }