i_shape 4.0.0

iShape is a compact and efficient library specifically designed for representing 2D data structures using IntPoint.
Documentation
1
2
3
4
5
6
use alloc::vec::Vec;
use i_float::int::point::IntPoint;

pub type IntContour<T> = Vec<IntPoint<T>>;
pub type IntShape<T> = Vec<IntContour<T>>;
pub type IntShapes<T> = Vec<IntShape<T>>;