boostvoronoi 0.12.1

Boost voronoi ported to 100% rust
Documentation
#[cfg(feature = "cgmath")]
#[test]
/// Test cgmath type conversions 32 bit
fn cgmath_conversion_test_32() -> Result<(), boostvoronoi::BvError> {
    use boostvoronoi::cgmath::Point2;
    use boostvoronoi::prelude::*;

    type I = i32;

    let output = Builder::<I>::default()
        .with_vertices([Point2::new(3_i32, -3)].iter())?
        .with_segments([[Point2::new(0_i32, 0), Point2::new(2, -7)]].iter())?
        .build()?;
    for v in output.vertices().iter() {
        let _cgmath_vertice = Point2::<f64>::from(v);
        let _cgmath_vertice = Point2::<f64>::from(v);
    }
    Ok(())
}

#[cfg(feature = "cgmath")]
#[test]
/// Test cgmath type conversions 64 bit
fn cgmath_conversion_test_64() -> Result<(), boostvoronoi::BvError> {
    use boostvoronoi::cgmath::Point2;
    use boostvoronoi::prelude::*;

    type I = i64;

    let output = Builder::<I>::default()
        .with_vertices([Point2::new(3_i64, -3)].iter())?
        .with_segments([[Point2::new(0_i64, 0), Point2::new(2, -7)]].iter())?
        .build()?;
    for v in output.vertices().iter() {
        let _cgmath_vertice = Point2::<f64>::from(v);
        let _cgmath_vertice = Point2::<f64>::from(v);
    }
    Ok(())
}