3d attractor test

This commit is contained in:
randogoth 2024-04-08 11:44:21 +03:00
parent ebabfe1a7e
commit 1af28b4399
3 changed files with 94 additions and 12 deletions

12
tests/threed.rs Normal file
View file

@ -0,0 +1,12 @@
use xenobalanus::Xenobalanus;
#[test]
fn threed() {
let mut geodesic = Xenobalanus::new();
geodesic.random_points_3d((0.0, 0.0), 1.0, 1000);
geodesic.delaunay_3d();
geodesic.preprocess_3d();
let attractors = geodesic.dtscan(5, 0.085);
println!("{:#?}", attractors);
}