computeBbox
@nmi-agro/fdm-source / fdm-rvo/src / computeBbox
Function: computeBbox()
computeBbox(
geometry):number[]
Defined in: fdm-rvo/src/utils.ts:96
Pre-computes the bounding box of a GeoJSON geometry.
Parameters
geometry
any
The GeoJSON geometry.
Returns
number[]
The bounding box as [minX, minY, maxX, maxY].