lineIntersectCircle

open fun lineIntersectCircle(lineEqn: LineEqn, circlePt: Mercator, r: Float): List<Mercator>

Finds the point(s) of intersection between a circle and a line

Return

returns point(s) of intersection

Parameters

lineEqn

equation of the line

circlePt

circle center point

r

circle radius


open fun lineIntersectCircle(pt1: Mercator, pt2: Mercator, circlePt: Mercator, r: Float): List<Mercator>

Finds the point(s) of intersection between a circle and a line

Return

returns point(s) of intersection

Parameters

pt1

line point 1

pt2

line point 2

circlePt

circle center point

r

circle radius