public override double Perimetro()
        {
            Segmento primerLado = new Segmento(this.vertices[0], this.vertices[1]);

            Segmento segundoLado = new Segmento(this.vertices[1], this.vertices[2]);

            return(2 * primerLado.Longitud + 2 * segundoLado.Longitud);
        }
        public override double Area()
        {
            Segmento primerLado = new Segmento(this.vertices[0], this.vertices[1]);

            Segmento segundoLado = new Segmento(this.vertices[1], this.vertices[2]);

            return(primerLado.Longitud * segundoLado.Longitud);
        }