Refuse a physical dimension that is not a finite number strictly above zero.
The procedural builders, surface-pattern generators, and opening reveal call
it on widths, heights, depths, thicknesses, and pattern periods before they
emit anything, so a zero, negative, NaN, or infinite extent fails with the
caller's own name for it instead of producing a collapsed or non-finite mesh.
Type Declaration
(value:number,label:string):void
Parameters
value: number
Dimension to admit, in the caller's unit: metres, or pattern-plane units for a pattern period.
label: string
Name the error message gives the dimension.
Returns void
Throws
Error <label> must be a finite number > 0 when the value is refused.
Refuse a physical dimension that is not a finite number strictly above zero.
The procedural builders, surface-pattern generators, and opening reveal call it on widths, heights, depths, thicknesses, and pattern periods before they emit anything, so a zero, negative,
NaN, or infinite extent fails with the caller's own name for it instead of producing a collapsed or non-finite mesh.