Vector2d.lengthSquared

Get the length squared of a 2-dimensional double-precision vector.

@param x The vector's x component @param y The vector's y component

@return the length squared of the given vector

@author F. Neurath

  1. double lengthSquared()
  2. double lengthSquared(double x, double y)
    struct Vector2d
    public static
    double
    lengthSquared
    (
    double x
    ,
    double y
    )

Meta