Home → Operators → Circle/XLarge,P1,P2,R

Circle/XLarge,P1,P2,R

Circle Through Two Points with Radius

Creates a circle of specified radius passing through two existing points. Two solutions exist — direction selector (XL/XS/YL/YS) picks which centre position to use.

What It Does

The Circle/XLarge,P1,P2,R operator creates a circle of specified radius R that passes through two existing point references P and P2. Two circles of the same radius can pass through any two points — one on each side of the line connecting them. The direction selector picks which solution to use.

Two solutions: Unlike Circle/Centre,R (via perpendicular bisector construction) (which needs three points and has one unique solution), this operator needs a direction selector because two circles of radius R can pass through any two points.

Syntax

Circle/XLarge, P0, P1, R

Quick Input

P: 0 P2: 1 R: 5 Dir: XL XS YL YS

Direction Selector

The direction selector picks which of the two possible circle centres to use, based on the centre coordinate position:

SelectorPicks
XL (XLarge)Circle centre with the largest X coordinate
XS (XSmall)Circle centre with the smallest X coordinate
YL (YLarge)Circle centre with the largest Y coordinate
YS (YSmall)Circle centre with the smallest Y coordinate

Worked Examples

P0 = (0, 0), P1 = (60, 0), R = 40 // Centre above the line P0-P1 P: 0 P2: 1 R: 40 Dir: YL → C0: centre (30, 26.46), r=40 Passes through (0,0) and (60,0) // Centre below the line P0-P1 P: 0 P2: 1 R: 40 Dir: YS → C1: centre (30, -26.46), r=40 Passes through (0,0) and (60,0)

Analytic Rule

Two circles of radius R pass through P and P2. Their centres lie on the perpendicular bisector of segment P-P2, at distance sqrt(R² - (d/2)²) from the midpoint, where d = distance(P, P2). Requires: R >= d/2 (radius must be large enough to reach both points). Dir selector picks which centre (above or below the P-P2 line). Result: Exact analytic circle.

FAQ

What is the difference between Circle/XLarge,P1,P2,R and Circle/Centre,R (via perpendicular bisector construction)?

Circle/XLarge,P1,P2,R creates a circle through two points with a specified radius — two solutions exist, so a direction selector is required. To create a circle through three points, use the perpendicular bisector construction: find the circumcentre as the intersection of two perpendicular bisectors, then use Circle/Centre,R.

What happens if the radius is too small?

If R is less than half the distance between P and P2, no circle of that radius can pass through both points. XyzPilot will return an error. Increase R or move the points closer together.