clipLinearMapToInterval Method
Clip this range to a linear half space condition.
- If
limitA > limitBthe limit space is empty:- Make this range null.
- Return
false.
- Otherwise for
limitA <= limitB:- Solve
a + u * fA = limitAanda + u * fB = limitB. - If unable to solve (i.e. u near zero),
aalone determines whether to leave this interval unchanged or reduce to null. - Form an interval from the solution
{fA, fB}. - Clip this instance to the solution interval.
- Return
trueif the range is non-null after the clip.
- Solve
clipLinearMapToInterval(a: number, u: number, limitA: number, limitB: number): boolean
Returns - boolean
Defined in
- geometry3d/Range.ts Line 1397
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.