Skip to contents

Get the origin cell of the unidirectional edge

Usage

getDirectedEdgeOrigin(edge)

Arguments

edge

vector of unidirectional edge H3 indexes

Value

the origin hexagon from the unidirectional edge H3Index.

Examples


getDirectedEdgeOrigin((edge = c("115283473fffffff","16a2a1072b59ffff")))
#> [1] "85283473fffffff" "8a2a1072b59ffff"