HomeFAQHow do I find the intersection of a line and circle in ...

FAQ

How do I find the intersection of a line and circle in XyzPilot?

Use Point/Intof,L,C with a direction selector (XLarge, XSmall, YLarge, or YSmall) to create a point at the intersection.

Full Answer

Use the Point/Intof,L,C operator. A line and circle can intersect at two points — the direction selector specifies which one to create.

XyzPilot Example

L0 = Horizontal line at Y=50 C0 = Centre (75,50), radius 25 Point/XLarge, Intof, L0, C0 → P0 = (100, 50) [right intersection] Point/XSmall, Intof, L0, C0 → P1 = (50, 50) [left intersection]
← All FAQs Operator Reference Try in XyzPilot →