Skip to content

Commit

Permalink
cellToBoundary
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfriend committed Oct 26, 2024
1 parent 715388a commit 5028908
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions website/docs/api/indexing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ $ h3 cellToLatLng -c 85283473fffffff

## cellToBoundary

Finds the boundary of the cell. See the
[algorithm description](../core-library/cellToBoundaryDesc)
for more information.


<Tabs
groupId="language"
defaultValue="c"
Expand All @@ -190,6 +195,8 @@ $ h3 cellToLatLng -c 85283473fffffff
H3Error cellToBoundary(H3Index cell, CellBoundary *bndry);
```
Returns 0 (`E_SUCCESS`) on success.
</TabItem>
<TabItem value="java">
Expand All @@ -216,9 +223,11 @@ function example() {
<TabItem value="python">

```py
h3.cell_to_boundary(cell, geo_json=False)
h3.cell_to_boundary(cell)
```

Returns tuple of lat/lng tuples.

</TabItem>
<TabItem value="shell">

Expand All @@ -240,10 +249,3 @@ $ h3 cellToBoundary -c 85283473fffffff

</TabItem>
</Tabs>

Finds the boundary of the cell. See the
[algorithm description](../core-library/cellToBoundaryDesc)
for more information.


Returns 0 (`E_SUCCESS`) on success.

0 comments on commit 5028908

Please sign in to comment.