From 09140413667d154b838d089b1c64018f42f82f81 Mon Sep 17 00:00:00 2001 From: Don McCurdy Date: Wed, 22 Jan 2025 16:59:00 -0500 Subject: [PATCH] docs(cellToChildren): Add cellToChildren docs --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index dd551d0..9ecb0f9 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,15 @@ function cellToParent(quadbin: bigint): bigint Calculates the parent cell. +## function cellToChildren + +```javascript +function cellToChildren(quadbin: bigint, resolution: bigint): bigint[] +``` + +Calculates the child cells at given resolution. Results returned in +row-major order starting from NW and ending at SE. + ## tileToCell ```javascript