feat/contour-map-rewrite
main
Replace C# Avalonia models with pure Flutter implementations.
GC-UI/frontend/lib/models/base.dart
GC-UI/frontend/lib/models/contour_flutter.dart
GC-UI/frontend/lib/models/geography_flutter.dart
GC-UI/frontend/lib/models/rotation_flutter.dart
GC-UI/frontend/lib/models/revolution_flutter.dart
GC-UI/frontend/lib/models/scale_flutter.dart
GC-UI/frontend/lib/models/registry.dart
Replace C# Avalonia models with pure Flutter implementations: 1. Contour Map (等高线地形图) - Five terrain types: plain, hill, mountain, plateau, basin - Animation playback/pause controls - Top/3D view toggle - Hypsometric coloring 2. Earth Geography (地球地理) - Five climate zones display - Seven continents outlines - Layer toggle controls - Tropic/circle annotations 3. Earth Rotation (地球自转) - Rotation animation - Day/night hemispheres - Terminator line annotation - Axial tilt (23.5°) display - Subsolar point tracking 4. Earth Revolution (地球公转) - Orbital animation - Four seasons positioning - Subsolar point migration - Fixed axial direction demo 5. Scale Calculator (比例尺计算器) - Three solve modes - Visual ruler display - Real-time calculation - Common scale presets Implementation details: - Use Flutter CustomPaint for 2D/3D rendering - AnimationController for smooth animations - Follow GC-UI theme and i18n system - Implement GcModel interface for unified management - Provide registry.dart for model registration
No dependencies set.
The note is not visible to the blocked user.
Summary
Replace C# Avalonia models with pure Flutter implementations.
Changes
1. Contour Map (等高线地形图)
2. Earth Geography (地球地理)
3. Earth Rotation (地球自转)
4. Earth Revolution (地球公转)
5. Scale Calculator (比例尺计算器)
Implementation
Files
GC-UI/frontend/lib/models/base.dart- Model interfaceGC-UI/frontend/lib/models/contour_flutter.dart- Contour mapGC-UI/frontend/lib/models/geography_flutter.dart- Earth geographyGC-UI/frontend/lib/models/rotation_flutter.dart- Earth rotationGC-UI/frontend/lib/models/revolution_flutter.dart- Earth revolutionGC-UI/frontend/lib/models/scale_flutter.dart- Scale calculatorGC-UI/frontend/lib/models/registry.dart- Model registry