exactEdgeLength method
Calculates exact length of a given unidirectional edge in unit
s
Implementation
@override
double exactEdgeLength(BigInt edgeIndex, H3Units unit) {
switch (unit) {
case H3Units.m:
return _h3c.exactEdgeLengthM(edgeIndex.toInt());
case H3Units.km:
return _h3c.exactEdgeLengthKm(edgeIndex.toInt());
case H3Units.rad:
return _h3c.exactEdgeLengthRads(edgeIndex.toInt());
}
}