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.


huoston/shortestpath documentation built on May 25, 2019, 8:18 a.m.