Exemplo n.º 1
0
        public Rectangle(Coordinates2D topLeftCornerCoords, float length, float height)
        {
            TopLeftCorner = topLeftCornerCoords;
            Length        = length;
            Height        = height;

            CalculatePoints();
        }
Exemplo n.º 2
0
 public LineSegment(Coordinates2D a, Coordinates2D b)
 {
     Points = new Coordinates2D[] { a, b };
 }
Exemplo n.º 3
0
 public Triangle(Coordinates2D a, Coordinates2D b, Coordinates2D c)
 {
     Points = new Coordinates2D[] { a, b, c };
 }