ARC: ARC model

View source: R/ARC-model.R

ARCR Documentation

ARC model

Description

Arcs are unique paths that connect nodes. In a polygon layer with shared boundaries, the arcs are the linear features that have no branches.

Usage

ARC(x, ...)

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

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

Arguments

x

input model

...

arguments passed to methods

Details

Nodes are the vertices where three or more arcs meet. An arc can exist without including any nodes, a path that has no neighbouring relationship with another path.

This is not the same terminology as used by other systems, such as "arc-node". The arc_link_vertex mapping is inherently ordered, but we don't consider order of arcs. Duplicated arcs (i.e. complementary turns around neighbouring polygons) are not kept. The object_link_arc mapping records which arc belongs to the objects, so feature polygons can in theory be reconstructed within objects by tracing arc_link_vertex start and end point identity.

Value

ARC model

Examples

a <- ARC(minimal_mesh)
sc_arc(a)
sc_arc(minimal_mesh)

mdsumner/sc documentation built on Jan. 16, 2024, 2:03 a.m.