public Triangulo(Punto pPunto1, Punto pPunto2, Punto pPunto3) { this.iPunto1 = pPunto1; this.iPunto2 = pPunto2; this.iPunto3 = pPunto3; }
public Circulo(Punto Centro, double Radio) { this.iRadio = Radio; this.iCentro = Centro; }
public Circulo(double pX, double pY, double Radio) { this.iCentro = new Punto(pX, pY); this.iRadio = Radio; }
public double CalcularDistanciaDesde(Punto pPunto) { return(Math.Sqrt((Math.Pow((pPunto.X - this.iX), 2) + Math.Pow((pPunto.Y - this.iY), 2)))); }