From 375d87a9b0ec1cf2fffd705adb870c86144d2400 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 26 Oct 2026 20:05:20 +0100 Subject: Replace the C++ implementation with the Rust port The Rust port (formerly gipfel-rs) is now the official successor to the FLTK/GSL C++ code base. This squashes the port into a single commit and removes the C++ sources (they remain in the git history below). Layout: crates/gipfel-core headless core: hills, panorama geometry, projections (maxima-generated derivatives), pure-Rust LM fit, gipfel: JPEG comment + EXIF I/O, profiles, stitching crates/gipfel-cli command-line tools (export, info, stitch, profiles) crates/gipfel-app Cosmic DE (libcosmic) GUI, binary name `gipfel` codegen/ maxima scripts + regen.sh for the projection code tests/ golden files + C++ reference harnesses (historical) The original README is kept for now; it will be updated to describe the Rust build. gipfel.dat, AUTHORS, ChangeLog and NEWS are unchanged. --- tests/golden/fit_rect.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/golden/fit_rect.txt (limited to 'tests/golden/fit_rect.txt') diff --git a/tests/golden/fit_rect.txt b/tests/golden/fit_rect.txt new file mode 100644 index 0000000..d37b380 --- /dev/null +++ b/tests/golden/fit_rect.txt @@ -0,0 +1,14 @@ +ret 0 +a_center 6.6322511575784384 +a_nick 3.8358482613767501e-16 +a_tilt 0.01745329251994306 +scale 3000.0000000000027 +k0 1.1252597395717405e-14 +k1 1.6387771195849632e-15 +x0 -1.3533330861078106e-14 +hill 0 -1194.2901436402242 97.812455966247811 +hill 1 -1516.1807642651722 -169.86071632098324 +hill 2 -1741.859869105966 -156.929589386619 +hill 3 -1976.4828429431623 118.42826203922655 +hill 4 -2077.8688492890328 -90.908545475464734 +hill 5 -2361.0905544534971 94.952405220629913 -- cgit v1.2.3