From 631b2cdf4b5ef7ee07b7ce8a7443a4827c63dcaa Mon Sep 17 00:00:00 2001 From: Matthieu Baumann Date: Mon, 1 Jul 2024 09:41:49 +0200 Subject: [PATCH] WIP: polyline catalog renderer --- examples/al-init-custom-options.html | 3 +- src/core/Cargo.toml | 2 +- src/core/src/lib.rs | 7 +- src/core/src/math/angle.rs | 4 +- src/core/src/math/lonlat.rs | 5 +- src/core/src/renderable/line/mod.rs | 32 +--- src/core/src/renderable/moc/renderer.rs | 137 -------------- src/core/src/renderable/mod.rs | 1 + src/core/src/renderable/shape/box.rs | 1 + src/core/src/renderable/shape/circle.rs | 0 src/core/src/renderable/shape/ellipsis.rs | 0 src/core/src/renderable/shape/image.rs | 0 src/core/src/renderable/shape/mod.rs | 62 +++++++ src/core/src/renderable/shape/polyline.rs | 210 ++++++++++++++++++++++ src/js/Aladin.js | 2 + src/js/View.js | 2 + 16 files changed, 289 insertions(+), 179 deletions(-) create mode 100644 src/core/src/renderable/shape/box.rs create mode 100644 src/core/src/renderable/shape/circle.rs create mode 100644 src/core/src/renderable/shape/ellipsis.rs create mode 100644 src/core/src/renderable/shape/image.rs create mode 100644 src/core/src/renderable/shape/mod.rs create mode 100644 src/core/src/renderable/shape/polyline.rs diff --git a/examples/al-init-custom-options.html b/examples/al-init-custom-options.html index 1dc967616..8e0930108 100644 --- a/examples/al-init-custom-options.html +++ b/examples/al-init-custom-options.html @@ -7,10 +7,9 @@
- +