distanceSquared method

num distanceSquared(
  1. num px,
  2. num py
)

Returns the square of the distance from this point to a given point (px, py). @param {number} px @param {number} py @return {number} the square of the euclidean distance. @see #distanceSquaredPoint

Implementation

_i2.num distanceSquared(
  _i2.num px,
  _i2.num py,
) =>
    _i4.callMethod(
      this,
      'distanceSquared',
      [
        px,
        py,
      ],
    );