Skip to main content

Function: solveQuadraticLeqZero()

solveQuadraticLeqZero(A, B, C): RealRange | null

The t satisfying A t^2 + B t + C <= 0, as an inclusive interval.

A is a squared length so it is never negative; A === 0 degenerates to the linear case, which happens when the column step has no component in the shape's scaled space.

Parameters​

• A: number

• B: number

• C: number

Returns​

RealRange | null

Defined in​

packages/core/src/utilities/voxelSlab/shapes/shapeGeometry.ts:236