Skip to content

Commit

Permalink
docs: Add documentation for cellToChildren()
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy authored Jan 23, 2025
2 parents cdbf057 + 0914041 commit 56712b8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56712b8

Please sign in to comment.