vgaIsovist {alcyon} | R Documentation |
Visibility Graph Analysis - isovist metrics
Description
Runs axial analysis to get the local metrics Control and Controllability
Usage
vgaIsovist(pointMap, boundaryMap, copyMap = TRUE)
Arguments
pointMap |
A PointMap |
boundaryMap |
A ShapeMap of lines |
copyMap |
Optional. Copy the internal sala map |
Value
A new PointMap with the results included
Examples
mifFile <- system.file(
"extdata", "testdata", "simple",
"simple_interior.mif",
package = "alcyon"
)
sfMap <- st_read(mifFile,
geometry_column = 1L, quiet = TRUE
)
pointMap <- makeVGAPointMap(
sfMap,
gridSize = 0.5,
fillX = 3.0,
fillY = 6.0,
maxVisibility = NA,
boundaryGraph = FALSE,
verbose = FALSE
)
boundaryMap <- as(sfMap[, c()], "ShapeMap")
vgaIsovist(pointMap, boundaryMap)
[Package alcyon version 0.4.0 Index]