conspire 0.7.1

The Rust interface to conspire.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod base;
pub mod from;
pub mod into;

use crate::geometry::{Coordinate, bbox::BoundingBox};

pub struct Primitive<const D: usize> {
    bounding_box: BoundingBox<D>,
    centroid: Coordinate<D>,
    index: usize,
}

pub type Primitives<const D: usize> = Vec<Primitive<D>>;