distanceSquared static method

num distanceSquared(
  1. num px,
  2. num py,
  3. num qx,
  4. num qy,
)

This static function returns the square of the distance from the point P to the point Q.

Implementation

static _i2.num distanceSquared(
  _i2.num px,
  _i2.num py,
  _i2.num qx,
  _i2.num qy,
) =>
    _i4.callMethod(
      _declaredPoint,
      'distanceSquared',
      [
        px,
        py,
        qx,
        qy,
      ],
    );