src/main/java/org/a05annex/util/geo2d/KochanekBartelsSpline.java
public boolean testOverHeadingPoint(double fieldX, double fieldY, double tolerance) {
            double dx = getHeadingX() - fieldX;
            double dy = getHeadingY() - fieldY;
            return Math.sqrt((dx * dx) + (dy * dy)) < tolerance;
        }
/**
         * Test whether a field position (probably a mouse position during path editing) is over this control
         * point robot heading control handle.
         *
         * @param fieldX    (double) The X coordinate of the test point.
         * @param fieldY    (double) The Y coordinate of the test point.
         * @param tolerance (double) The test tolerance - specifically, the distance from the actual field
         *                  position that the test point must be within to be considered a hit on the
         *                  control point heading handle.
         * @return Returns {@code true} if the test point is over the heading point, and {@code false} otherwise.
         */
Test whether a field position (probably a mouse position during path editing) is over this control
point robot heading control handle.

@param fieldX    (double) The X coordinate of the test point.
@param fieldY    (double) The Y coordinate of the test point.
@param tolerance (double) The test tolerance - specifically, the distance from the actual field
position that the test point must be within to be considered a hit on the
control point heading handle.
@return Returns  true if the test point is over the heading point, and  false otherwise.
Test whether a field position ( probably a mouse position during path editing ) is over this control point robot heading control handle . @param fieldX ( double ) The X coordinate of the test point . @param fieldY ( double ) The Y coordinate of the test point . @param tolerance ( double ) The test tolerance - specifically the distance from the actual field position that the test point must be within to be considered a hit on the control point heading handle . @return Returns true if the test point is over the heading point and false otherwise .
public boolean testOverHeadingPoint(double fieldX, double fieldY, double tolerance) {
            double dx = getHeadingX() - fieldX;
            double dy = getHeadingY() - fieldY;
            return Math.sqrt((dx * dx) + (dy * dy)) < tolerance;
        }
public boolean testOverHeadingPoint ( double fieldX , double fieldY , double tolerance ) { double dx = getHeadingX ( ) - fieldX ; double dy = getHeadingY ( ) - fieldY ; return Math . sqrt ( ( dx * dx ) + ( dy * dy ) ) < tolerance ; }
Test whether a field position (probably a mouse position during path editing) is over this control
 point robot heading control handle.
Test whether a field position ( probably a mouse position during path editing ) is over this control point robot heading control handle .