Beispiel #1
0
 public double Slope(Pixel p)
 {
     return((p.yVal - yVal) / (p.xVal - xVal + .0001));
 }
Beispiel #2
0
 public double Distance(Pixel p)
 {
     return(Math.Sqrt((p.xVal - xVal).Sqrd() + (p.yVal - yVal).Sqrd()));
 }