Skip to contents

Get the origin and destination cells of the unidirectional edge

Usage

directedEdgeToCells(edge)

Arguments

edge

vector of unidirectional edge H3 indexes

Value

the origin, destination pair of hexagon IDs for the given edge ID

Examples


directedEdgeToCells(edge = c("115283473fffffff","115283471fffffff"))
#> $origin
#> [1] "85283473fffffff" "85283471fffffff"
#> 
#> $destination
#> [1] "85283477fffffff" "85283475fffffff"
#>