public Rectangle(Coordinates2D topLeftCornerCoords, float length, float height) { TopLeftCorner = topLeftCornerCoords; Length = length; Height = height; CalculatePoints(); }
public LineSegment(Coordinates2D a, Coordinates2D b) { Points = new Coordinates2D[] { a, b }; }
public Triangle(Coordinates2D a, Coordinates2D b, Coordinates2D c) { Points = new Coordinates2D[] { a, b, c }; }