Beispiel #1
0
 /// <summary>
 /// Returns distance to point x,y
 /// </summary>
 public SmartDouble DistancePythagorean(SmartDouble x, SmartDouble y)
 {
     return(PointDGeometry.DistancePythagorean(X, Y, x, y));
 }
Beispiel #2
0
 /// <summary>
 /// Returns distance to p.
 /// </summary>
 public SmartDouble DistancePythagorean(PointD p)
 {
     return(PointDGeometry.DistancePythagorean(this, p));
 }