Skip to content

Add PolyEllipse2D node - #167

Merged
Xrayez merged 1 commit into
gd3from
ellipse
Dec 16, 2021
Merged

Xrayez merged 1 commit into
gd3from
ellipse

Conversation

@Xrayez

@Xrayez Xrayez commented Dec 16, 2021

Copy link
Copy Markdown
Contributor

Solves #139.

image

  • Allows to generate ellipses by passing width and height.
  • Accuracy is much better for thin shapes. The circle shape can be scaled (see bottom shape), but this degrades accuracy. Using an ellipse shape is efficient in this regard because you don't have to make max_error extremely low to achieve the same accuracy that would lead to performance loss during boolean operations between other PolyNode2D-based shapes.

@Xrayez Xrayez added this to the 1.2-gd3 milestone Dec 16, 2021
@Xrayez
Xrayez merged commit 15a75fa into gd3 Dec 16, 2021
@Xrayez
Xrayez deleted the ellipse branch December 16, 2021 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant