float function ( Vector2f arg0 ) { float loc0 = arg0 . getX ( ) - getX ( ) ; float loc1 = arg0 . getY ( ) - getY ( ) ; return ( float ) ( loc0 * loc0 ) + ( loc1 * loc1 ) ; }
get the distance from this point to another , squared . this can sometimes be used in place of distance and avoids the additional sqrt . concode_field_sep float x concode_elem_sep float y concode_elem_sep long serialVersionUID concode_field_sep Vector2f add concode_elem_sep Vector2f add concode_elem_sep Vector2f getNormal concode_elem_sep Vector2f sub concode_elem_sep Vector2f sub concode_elem_sep Vector2f negateLocal concode_elem_sep void setTheta concode_elem_sep void set concode_elem_sep Vector2f set concode_elem_sep Vector2f set concode_elem_sep float lengthSquared concode_elem_sep float distance concode_elem_sep float dot concode_elem_sep float length concode_elem_sep Vector2f scale concode_elem_sep Vector2f normalise concode_elem_sep float getX concode_elem_sep void projectOntoUnit concode_elem_sep float getY concode_elem_sep Vector2f negate concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep double getTheta concode_elem_sep String toString concode_elem_sep Vector2f copy concode_elem_sep Vector2f getPerpendicular