bbox.isEmpty

Whether a box contains no point.

Value helperSince 0.3.0

Usage

TypeScript
BBox.isEmpty(b: BBox): boolean

Parameters

  • bBBox

    The box to test. Required. In model.

Returns

true when min exceeds max on any axis or any bound is NaN (BBox.empty included); a box of one point is not empty.

Example

TypeScript
BBox.isEmpty(BBox.empty) // → true

See also