mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
The previous logic split the track whenever longitude jumped by more than 180°, which could happen in cases other than actual antimeridian crossings, causing gaps in the middle of the orbit track. New logic only splits when one longitude is > 90° and the other is < -90°, which specifically identifies crossings of the ±180° line. Also changed segment minimum from 2 to 1 point to preserve all data. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>