sc_edge: Edges.

View source: R/00_edge.R

sc_edgeR Documentation

Edges.

Description

Simple binary relationships, a primitive composed of two vertices.

Usage

sc_edge(x, ...)

## Default S3 method:
sc_edge(x, ...)

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

sc_start(x, ...)

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

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

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

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

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

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

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

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

sc_end(x, ...)

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

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

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

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

Arguments

x

input object

...

arguments for methods

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.

Value

data frame of edge identity, or start/end coordinates


silicate documentation built on Jan. 7, 2023, 1:15 a.m.