Skip to content

Commit

Permalink
David's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfriend committed Oct 27, 2024
1 parent d5c856c commit 0997aae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion website/docs/api/directededge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ The origin and destination are placed at
Returns 0 (`E_SUCCESS`) on success.
</TabItem>
<TabItem value="java">
Expand Down
9 changes: 6 additions & 3 deletions website/docs/api/hierarchy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,9 @@ $ h3 childPosToCell -p 42 -c 85283473fffffff -r 7

## compactCells

Compacts the set `cellSet` of indexes as best as possible, into the array `compactedSet`.
`compactedSet` must be at least the size of `cellSet` in case the set cannot be compacted.
Cells in `cellSet` must all share the same resolution.
Compacts a collection of H3 cells by recursively replacing children cells
with their parents if all children are present.
Input cells must all share the same resolution.

<Tabs
groupId="language"
Expand All @@ -514,6 +514,9 @@ Cells in `cellSet` must all share the same resolution.
H3Error compactCells(const H3Index *cellSet, H3Index *compactedSet, const int64_t numCells);
```
Compacts `cellSet` into the array `compactedSet`.
`compactedSet` must be at least the size of `cellSet` (in case the set cannot be compacted).
Returns 0 (`E_SUCCESS`) on success.
</TabItem>
Expand Down
3 changes: 1 addition & 2 deletions website/docs/api/inspection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ The H3 CLI supports only the string representation of an H3 index.
## h3ToString

Converts the `H3Index` representation of the index to the string representation.
`str` must be at least of length 17.


<Tabs
groupId="language"
Expand All @@ -237,6 +235,7 @@ Converts the `H3Index` representation of the index to the string representation.
H3Error h3ToString(H3Index h, char *str, size_t sz);
```
`str` must be at least of length 17.
Returns 0 (`E_SUCCESS`) on success.
</TabItem>
Expand Down

0 comments on commit 0997aae

Please sign in to comment.