Function clip_line

Source
pub fn clip_line(
    geom: &VectorLineString,
    bbox: BBox3D,
    is_polygon: bool,
    offset: Option<f64>,
    buffer: Option<f64>,
) -> Vec<ClipLineResultWithBBox>
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