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
7
use alloc::vec::Vec;

pub type Path<P> = Vec<P>;
pub type Paths<P> = Vec<Path<P>>;
pub type Contour<P> = Vec<P>;
pub type Shape<P> = Vec<Contour<P>>;
pub type Shapes<P> = Vec<Shape<P>>;