is.edge.intersection: is.edge.intersection

Description Usage Arguments Value

View source: R/utils.R

Description

Determine if two edges intersect.

Usage

1
is.edge.intersection(g, edges_or_vertices)

Arguments

g

The graph object

edges_or_vertices

Either a vector containing two edges or a matrix containing four vertices (as edge endpoints).

Value

TRUE if both edges intersect, FALSE otherwise.


mhils/shortestpath documentation built on Dec. 17, 2020, 3:19 p.m.