Skip to content
1 min read · 44 words

Variable: geoBboxContainsTool

ts
const geoBboxContainsTool: Tool<SpooledArtifact>;

Defined in: batteries/tools/geo_basics/index.ts:146

Check whether a point falls inside an axis-aligned bounding box.

Remarks

The bounding box is defined by its SW and NE corners. Boxes that wrap the antimeridian (i.e. SW longitude greater than NE longitude) are handled correctly.