Beispiel #1
0
 public TrianguloEquilatero(double Base, Transversales.Color Color) : base()
 {
     this.Altura = Math.Sqrt(3) * Base / 2;
     this.Base   = Base;
     this.Color  = Color;
     Nombre      = "Triangulo";
 }
Beispiel #2
0
 public Cuadrado(double Lado, Transversales.Color Color) : base()
 {
     this.Altura = Lado;
     this.Base   = Lado;
     this.Color  = Color;
     this.Lado   = Lado;
     Nombre      = "Cuadrado";
 }
Beispiel #3
0
 public Cuadrado(int Lado, Transversales.Color Color)
 {
     this.Lado  = Lado;
     this.Color = Color;
 }
Beispiel #4
0
 public Cuadrado(double Lado, Transversales.Color Color)
 {
     this.Color = Color;
     this.Lado  = Lado;
 }
Beispiel #5
0
 public FiguraGeometrica(double Altura, double Base, Transversales.Color Color)
 {
     this.Altura = Altura;
     this.Base   = Base;
     this.Color  = Color;
 }
Beispiel #6
0
 public TrianguloEquilatero(double Altura, double Base, Transversales.Color Color) : base(Altura, Base, Color)
 {
     Nombre = "Triangulo";
 }
Beispiel #7
0
 public Cuadrado(double Altura, double Base, Transversales.Color Color) : base(Altura, Base, Color)
 {
     this.Lado = Altura;
     Nombre    = "Cuadrado";
 }
Beispiel #8
0
 public TrianguloEquilateroBase(double Altura, double Base, Transversales.Color Color)
 {
     this.Altura = Altura;
     this.Base   = Base;
     this.Color  = Color;
 }
Beispiel #9
0
 public CuadradoBase(double Altura, double Base, Transversales.Color Color)
 {
     this.Altura = Altura;
     this.Base   = Base;
     this.Color  = Color;
 }