getH3UnidirectionalEdgesFromHexagon method
Get all of the unidirectional edges with the given H3 index as the origin (i.e. an edge to every neighbor)
Implementation
@override
List<BigInt> getH3UnidirectionalEdgesFromHexagon(BigInt edgeIndex) {
return using((arena) {
final out = arena<Uint64>(6);
_h3c.getH3UnidirectionalEdgesFromHexagon(edgeIndex.toInt(), out);
return out
.asTypedList(6)
.toList()
.where((i) => i != 0)
.map((e) => e.toBigInt())
.toList();
});
}