library(alcyon)
#> Loading required package: sf
#> Linking to GEOS 3.12.1, GDAL 3.8.4, PROJ 9.4.0; sf_use_s2() is TRUE
#> Loading required package: stars
#> Loading required package: abind
#> Registered S3 method overwritten by 'stars':
#> method from
#> st_interpolate_aw.stars sf
lineStringMap <- st_read(
system.file(
"extdata", "testdata", "gallery",
"gallery_lines.mif",
package = "alcyon"
),
geometry_column = 1L, quiet = TRUE
)
shapeMap <- as(lineStringMap[, vector()], "ShapeMap")
isovistMap <- isovist(
shapeMap,
x = c(3.01),
y = c(6.70),
angle = 0.01,
viewAngle = 3.14,
FALSE
)
