2024-04-08 11:44:21 +03:00
|
|
|
use xenobalanus::Xenobalanus;
|
|
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
|
fn threed() {
|
|
|
|
|
let mut geodesic = Xenobalanus::new();
|
2024-04-08 11:48:00 +03:00
|
|
|
geodesic.random_points_3d((0.0, 0.0, 0.0), 1.0, 1000);
|
2024-04-08 11:44:21 +03:00
|
|
|
geodesic.delaunay_3d();
|
|
|
|
|
geodesic.preprocess_3d();
|
|
|
|
|
let attractors = geodesic.dtscan(5, 0.085);
|
|
|
|
|
|
|
|
|
|
println!("{:#?}", attractors);
|
|
|
|
|
}
|