HomeFAQHow do I create a point on the circumference of a circl...

FAQ

How do I create a point on the circumference of a circle at a specific angle in XyzPilot?

Use Point/On,C,Atangl with the circle reference and the angle in degrees from the positive X axis. No selector needed.

Full Answer

Use Point/On,C,Atangl. Specify the circle reference and the angle in degrees measured from the positive X axis, counterclockwise. The point is created on the circle circumference at the exact angular position.

Formula: x = cx + r*cos(angle), y = cy + r*sin(angle)

XyzPilot Example

C0 = Centre (0,0), radius 100 Point/On, C0, Atangl, 0, 0 → P0 = (100, 0) [0 degrees — rightmost] Point/On, C0, Atangl, 90, 0 → P1 = (0, 100) [90 degrees — top] Point/On, C0, Atangl, 180, 0 → P2 = (-100, 0) [180 degrees — leftmost] Point/On, C0, Atangl, 270, 0 → P3 = (0, -100) [270 degrees — bottom] Point/On, C0, Atangl, 45, 0 → P4 = (70.711, 70.711) [45 degrees]
← All FAQs Operator Reference Try in XyzPilot →