Skip to main content

NEAREST_HANDOFF

Constant NEAREST_HANDOFF 

Source
pub const NEAREST_HANDOFF: f64 = 1e-3;
Expand description

Where a nearest-point search hands over to Newton, as a fraction of the size of what it searches (NurbCurve::closest_point, NurbSurface::closest_point). Bounds effort only: every piece left at the handoff that could hold a nearer point is refined, so a coarser handoff only leaves Newton more pieces to start from.