Skip to content
1 min read · 84 words

@nhtio/adk/batteries/tools/geo_basics

Pre-constructed tools for basic geographic distance and coordinate calculations.

Remarks

Pre-constructed bundled tools for the geo_basics category. Import individually, the whole category, or import every tool via @nhtio/adk/batteries.

Variables

VariableDescription
geoBboxContainsToolCheck whether a point falls inside an axis-aligned bounding box.
geoDistanceToolGreat-circle (haversine) distance between two geographic coordinates.
geoWithinRadiusToolCheck whether a point lies within a radius of a centre coordinate.