Registry / other / spade
library2.15.1rscratesunverified

Delaunay triangulations for the rust ecosystem

# Cargo.toml [dependencies] spade = "2.15.1"
INSTALL
IMPORT
SIG · SPADE
S
spade
otherrustv2.15.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DelaunayTriangulation
use spade::DelaunayTriangulation;

Creates a Delaunay triangulation from 2D points.

use spade::DelaunayTriangulation; fn main() { let mut triangulation = DelaunayTriangulation::<spade::Point2<f64>>::new(); triangulation.insert(spade::Point2::new(0.0, 0.0)); triangulation.insert(spade::Point2::new(1.0, 0.0)); triangulation.insert(spade::Point2::new(0.5, 1.0)); println!("Number of vertices: {}", triangulation.num_vertices()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.15.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
spade — cargo add spade · libregistry