Create a reusable distance query from a reference shape.
Keeps the reference shape loaded in the kernel distance tool so that multiple distanceTo calls avoid re-loading overhead.
distanceTo
Call dispose() when done to free the WASM-allocated distance tool.
dispose()
Create a reusable distance query from a reference shape.
Keeps the reference shape loaded in the kernel distance tool so that multiple
distanceTocalls avoid re-loading overhead.