h3 icon indicating copy to clipboard operation
h3 copied to clipboard

Implement `edgeToVertexes`

Open ajfriend opened this issue 3 years ago • 2 comments

Maybe it would even work for both directed and undirected edges? If so, then the interpretation of the output would just depend on the type of edge that was input---either a ordered pair or an unordered set.

ajfriend avatar Jan 10 '21 03:01 ajfriend

And maybe also the inverses vertexesToDirectedEdge and vertexesToUndirectedEdge (or however we settle on the naming).

ajfriend avatar Jan 10 '21 03:01 ajfriend

edgeToVertexes should be dead simple. vertexesToDirectedEdge is harder, but I think we may need it for the multi-polygon algo in any case.

nrabinowitz avatar Jan 11 '21 17:01 nrabinowitz