testLineCircle

Test whether the line with the general line equation <i>a*x + b*y + c = 0</i> intersects the circle with center <code>(centerX, centerY)</code> and <code>radius</code>. <p> Reference: <a href="http://math.stackexchange.com/questions/943383/determine-circle-of-intersection-of-plane-and-sphere">http://math.stackexchange.com</a>

@param a the x factor in the line equation @param b the y factor in the line equation @param c the constant in the line equation @param centerX the x coordinate of the circle's center @param centerY the y coordinate of the circle's center @param radius the radius of the circle @return <code>true</code> iff the line intersects the circle; <code>false</code> otherwise

static
bool
testLineCircle
(
double a
,
double b
,
double c
,
double centerX
,
double centerY
,
double radius
)

Meta