Open
Description
Problem Description
Currently, SurfaceShape and related Sector implementations do not normalize longitudes or handle short-path logic when rendering polygons or regions that cross the International Date Line (±180° longitude). This leads to:
- Shapes rendering along the long path (across the globe) instead of the short one
Steps to Reproduce
- Create a SurfaceShape (e.g., Polygon, Path, etc.) with a longitude range from 179°E to -179°W (an actual span of just 2°)
- The rendered shape will follow the long way around the globe
Expected Result
- SurfaceShape and Sector should automatically detect and handle dateline crossing, mapping all vertices and regions to the same longitude domain and rendering along the short path
- Texture fill and clipping should also work correctly in these cases
Metadata
Metadata
Assignees
Labels
No labels