Simple binary relationships, a primitive composed of two vertices.

sc_edge(x, ...)

# S3 method for default
sc_edge(x, ...)

# S3 method for PATH
sc_edge(x, ...)

sc_start(x, ...)

# S3 method for SC
sc_start(x, ...)

# S3 method for SC0
sc_start(x, ...)

# S3 method for PATH
sc_start(x, ...)

# S3 method for PATH
sc_end(x, ...)

# S3 method for PATH0
sc_start(x, ...)

# S3 method for PATH0
sc_end(x, ...)

# S3 method for ARC
sc_start(x, ...)

# S3 method for TRI
sc_start(x, ...)

sc_end(x, ...)

# S3 method for SC
sc_end(x, ...)

# S3 method for SC0
sc_end(x, ...)

# S3 method for ARC
sc_end(x, ...)

# S3 method for TRI
sc_end(x, ...)

Arguments

x

input object

...

arguments for methods

Value

data frame of edge identity, or start/end coordinates

Details

Edges are unique, undirected line segments. Compare to sc_segment which refers to all instances of edges.

sc_start and sc_end are convenience functions that provide the obvious start and end coordinates by joining on the appropriate edge vertex label, .vx0 or .vx1. Currently this returns the ordered segments, along with their unique (unordered) edge_, as well as unique segment, a object_ labels.