
Finds the terminal vertices of a linear network.
terminalvertices(L)
A point pattern on the same linear network
(object of class "lpp"
).
A linear network (object of class "linnet"
).
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk and Mehdi Moradi m2.moradi@yahoo.com.
Given the linear network L
, this function
examines the vertices (segment endpoints) of the network
and determines which of them are ‘terminal’ vertices
(i.e. the endpoint of only one segment). These terminal vertices
are returned as a point pattern on the network.
vertices.linnet
.
B <- terminalvertices(simplenet)
plot(simplenet, main="")
plot(B, add=TRUE, pch=16, cex=2)
Run the code above in your browser using DataLab