Skip to content
Discussion options

You must be logged in to vote

This is a really good question!

This is not a circle, this is a closed LWPOLYLINE of two segments, where each segment is a semi-circle. To fill the circle the const-width of the LWPOLYLINE is set to outer radius of the filled circle.

The LWPOLYLINE has only two points, the start point (S) is in the middle between center point and outer radius, this also applies to the end point (E) on the opposite side. Both points have a bulge value of 1.0 and the second segment is given by the closed flag, which adds a closing segment from (E) to (S). The bulge value of the end point determines that the closing segment is a semi-circle.

This works also for the 2D POLYLINE entity and is used forever by …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by chibai
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants