Skip to content

Conversation

Swarnlataaa
Copy link

Fixes incorrect point placement in Circle.point_at_angle().
The function now normalizes angles beyond 2π and negative values, ensuring accurate coordinate mapping along the circle’s perimeter.
Verified using a test scene (FixedCircleTest) where points align correctly at 0°, 90°, and 180°.
Fixes #4236
cc: @elias-ramirez @behackl

@Swarnlataaa
Copy link
Author

The mypy errors in autoaliasattr_directive.py seems to be unrelated to this patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

Circle.point_at_angle() misbehaves for circles with rotation / reflections
1 participant