clip_line

Function clip_line 

Source
pub fn clip_line<M: Clone + Default>(
    geom: &VectorLineString<M>,
    bbox: BBox3D,
    is_polygon: bool,
    offset: Option<f64>,
    buffer: Option<f64>,
) -> Vec<ClipLineResultWithBBox<M>>
Expand description

clip an input line to a bounding box Data should always be in a 0->1 coordinate system to use this clip function