reduceToFewest {alcyon}R Documentation

Reduce an All-line Map to two types of fewest-line maps

Description

Reduce an All-line Map to two types of fewest-line maps

Usage

reduceToFewest(allLineMap)

Arguments

allLineMap

An AllLineShapeGraph

Value

A list with two fewest-line axial ShapeGraphs

Examples

mifFile <- system.file(
    "extdata", "testdata", "simple",
    "simple_interior.mif",
    package = "alcyon"
  )
  sfMap <- st_read(mifFile,
    geometry_column = 1L, quiet = TRUE
  )
  shapeMap <- as(sfMap[, vector()], "ShapeMap")
allLineMap <- makeAllLineMap(
  shapeMap,
  seedX = 3.01,
  seedY = 6.7
)
reduceToFewest(allLineMap)

[Package alcyon version 0.4.0 Index]