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 (i.e
limitA <= limitB)- solve
a + u * f = limitA' anda + u * f = limitA` - if unable to solve (i.e. u near zero),
aalone determines whether to (a) leave this interval unchanged or (b) reduce to nothing. - the
fvalues are an interval in the space of thisRange1d - restrict the range to that interval (i.e intersect existing (low,high) with the fraction interval.
- return true if 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 1235
Last Updated: 30 November, 2023