links,AxialShapeGraph-method {alcyon}R Documentation

Get the Axial ShapeGraph links

Description

Get the Axial ShapeGraph links

Usage

## S4 method for signature 'AxialShapeGraph'
links(map)

Arguments

map

An Axial ShapeGraph

Value

A matrix with the linked refs

Examples

# links of an axial map
mifFile <- system.file(
    "extdata", "testdata", "barnsbury",
    "barnsbury_small_axial_original.mif",
    package = "alcyon"
  )
  sfMap <- st_read(mifFile,
    geometry_column = 1L, quiet = TRUE
  )
  shapeGraph <- as(sfMap, "AxialShapeGraph")
linkRefs(shapeGraph, 0L, 9L)
unlinkCoords(shapeGraph, 530923.0, 184041.0, 530956.0, 183887.0)
links(shapeGraph)

[Package alcyon version 0.4.0 Index]