Distance() public static method

public static Distance ( float x1, float y1, float x2, float y2 ) : float
x1 float
y1 float
x2 float
y2 float
return float
Example #1
0
 public float Distance(Point p)
 {
     return(Points.Distance(x, y, p.x, p.y));
 }
Example #2
0
 public float Distance(float px, float py)
 {
     return(Points.Distance(x, y, px, py));
 }