Example #1
0
 public static void MostrarRectangulo(Rectangulo rec)
 {
     Console.WriteLine("El vertice1 es : (" + rec.GetVertice1().GetX() + "," + rec.GetVertice1().GetY() + ") \n El vertice 2 es : (" + rec.GetVertice2().GetX() + "," + rec.GetVertice2().GetY() + ")  \n El vertice 3 es : (" + rec.GetVertice3().GetX() + "," + rec.GetVertice3().GetY() + ")  \n El vertice 4 es : (" + rec.GetVertice4().GetX() + "," + rec.GetVertice4().GetY() + ") ");
 }