3d attractor test
This commit is contained in:
parent
ebabfe1a7e
commit
1af28b4399
3 changed files with 94 additions and 12 deletions
12
tests/threed.rs
Normal file
12
tests/threed.rs
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue