예제 #1
0
        public static float DistanceSqared(Point_rf A, Point_rf B)
        {
            float hori = (A._x - B._x);
            float vert = (A._y - B._y);

            return((hori * hori) + (vert * vert));
        }
예제 #2
0
 public Point_vf(Point_rf rp) : this(rp.x, rp.y)
 {
 }
예제 #3
0
 public Point_rf(Point_rf p) : this(p._x, p._y)
 {
 }