Skip to main content

binary_op_with_eps

Function binary_op_with_eps 

Source
pub fn binary_op_with_eps(
    set_a: &BezPath,
    set_b: &BezPath,
    fill_rule: FillRule,
    op: BinaryOp,
    eps: f64,
) -> Result<Contours, Error>
Expand description

Computes a boolean operation between two sets, each of which is described as a collection of closed curves.

The output paths will not exactly agree with the input paths in general. The accuracy parameter eps bounds how much they can differ.