Geometry Expressions

Arcing a Segment

We need to turn a line segment into an arc. We know the offset at the center, and need the radius of the arc.

First draw the segment, and specify coordinates of its end points.

Picture 1

Now construct the center point and create a perpendicular segment length h.

Picture 2

Create a circle through the three points

Picture 3

Measure the radius.

Picture 4

Copy as C#.

Picture 5

And paste into a code editor.

Picture 6