public static DistanceSq ( float x1, float y1, float x2, float y2 ) : float | ||
x1 | float | |
y1 | float | |
x2 | float | |
y2 | float | |
Результат | float |
public float DistanceSq(Point p) { return(Points.DistanceSq(x, y, p.x, p.y)); }
public float DistanceSq(float px, float py) { return(Points.DistanceSq(x, y, px, py)); }