in lib/h3core.js [1715:1725]
export function cellToVertexes(h3Index) {
const [lower, upper] = h3IndexToSplitLong(h3Index);
const maxNumVertexes = 6;
const vertexIndexes = C._calloc(maxNumVertexes, SZ_H3INDEX);
try {
throwIfError(H3.cellToVertexes(lower, upper, vertexIndexes));
return readArrayOfH3Indexes(vertexIndexes, maxNumVertexes);
} finally {
C._free(vertexIndexes);
}
}