Skip to main content

curve_bounds

Function curve_bounds 

Source
pub fn curve_bounds(curve: &Curve, tol: Tolerances) -> OgeomResult<Aabb>
Expand description

A guaranteed bound for a space curve.

Loose for a trimmed curve, which reports the bound of the whole rather than of the piece: never wrong, and tightening it would mean solving for the extremes of the trimmed range, which is the same work as an intersection.

ยงErrors

OgeomError::Domain if the curve cannot be evaluated at its own domain ends.