Exemple #1
0
 public double EuclidianDist(HesseForm OtherPoint)
 {
     return(Math.Sqrt(this.Rho * this.Rho + OtherPoint.Rho * OtherPoint.Rho - 2 * this.Rho * OtherPoint.Rho * Math.Cos(this.Theta - OtherPoint.Theta)));
 }
Exemple #2
0
 public RectLine(HesseForm hf)
 {
     a = Math.Cos(hf.Theta);
     b = Math.Sin(hf.Theta);
     c = -1 * hf.Rho;
 }