Skip to main content

to_simplify

Function to_simplify 

Source
pub fn to_simplify(algorithm: SimplifyAlgorithm, epsilon_deg: f64) -> Simplify
Expand description

Builds the ε-driven Simplify for the topology builder: ε is a max deviation in degrees for RDP and Imai–Iri, and Visvalingam’s area threshold is derived as ε². The viewer uses the same convention, so parameters found in the viewer plug straight into build scripts.