Description Usage Arguments Details Value Examples
interZoneC
1 | interZoneC(Z, iC, iZC, closePt)
|
Z |
zoning geometry (list of SpatialPolygons) |
iC |
zone number |
iZC |
other zone number |
closePt |
SpatialPoints object in other zone used as circle center |
finds two intersection points of a circle with a zone. The circle radius is chosen so that it will intersect both zones given as arguments.
a list with components
Two SpatialPoints to be used for the junction of the two zones
Order in which to use the points
1 2 3 4 5 6 7 8 9 10 | data(mapTest)
qProb=c(0.2,0.5)
ZK = initialZoning(qProb, mapTest)
K=ZK$resZ
Z=K$zonePolygone
plotZ(K$zonePolygone) # zoning
closePt = geozoning:::getClosePt(Z,6,8)
points(closePt,col="red")
res = geozoning:::interZoneC(Z,6,8,closePt)
points(res$spi,col="red")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.