Home › Survey calculations › Circle–line and two circles
Circle–line intersection and intersection of two circles
Place a point at a given distance along an alignment, find a boundary mark from two distances measured with a tape, cutting a road arc with a boundary: the tool calculates the circle–line intersections and circle–circle in X, Y coordinates.
Result
How to use the calculator
- Choose Line and circle or Two circles.
- Line and circle: define the line (two points, or a point and a bearing), then the centre and radius of the circle.
- Two circles: enter the two centres (known points) and the two radii (measured distances).
The formulas
Line and circle. With e the unit vector of the line, f = A − C, b = f·e and c = |f|² − R², the points are A + t·e with t = −b ± √(b² − c). If b² − c < 0, the line does not cut the circle.
Two circles. With d the distance between the centres: a = (R₁² − R₂² + d²) / (2d) and h = √(R₁² − a²). The foot of the chord is at distance a from C₁ on the line of centres, and the two points are at ±h on either side.
Examples
Line and circle: line A (486,300; 362,200) – B (486,420; 362,260), circle with centre C (486,360; 362,210) and radius 40 m. The line passes 17.889 m from the centre, so two points: I1 (486,320.000 ; 362,210.000) 22.361 m from A, and I2 (486,384.000 ; 362,242.000) 93.915 m from A.
Two circles: C1 (486,300.000; 362,200.000) with 52.340 m, C2 (486,360.000; 362,215.000) with 38.910 m. Centres 61.847 m apart: I1 (486,331.670 ; 362,241.672) on the left of C1→C2, I2 (486,347.554 ; 362,178.134) on the right.
Frequently asked questions
How do you find a point from two distances?
It is the intersection of two circles: each known point is the centre of a circle whose radius is the measured distance. There are usually two solutions, on either side of the line joining the centres; the tool shows which one is on the left and which one is on the right.
How many intersection points between a line and a circle?
Two if the line passes less than a radius from the centre, one if it is tangent, none if it passes further away. The tool shows the distance from the centre to the line to help you understand.
How do you place a point 25 m from another on an alignment?
Choose “Line and circle”: the line is the alignment, the centre is the starting point and the radius is 25 m. Of the two solutions, keep the one on the right side (positive distance from A).
Must the distances be horizontal?
Yes, like all grid coordinates. A distance measured on a slope must first be reduced to horizontal.