pub fn slice_with_precision( polygons: &[Vec<(f64, f64)>], positions: &[f64], axis: Axis, precision: f64, ) -> (Vec<Vec<(f64, f64)>>, Vec<Vec<(f64, f64)>>)
Slice with explicit precision (matches gdstk.slice).
gdstk.slice