tripack (version 1.0-1)

neighbours: List of neighbours from a triangulation object

Description

Extract a list of neighbours from a triangulation object

Usage

neighbours(tri.obj)

Arguments

tri.obj
object of class "tri"

Value

  • nested list of neighbours per point

References

R. J. Renka (1996). Algorithm 751: TRIPACK: a constrained two-dimensional {Delaunay} triangulation package. ACM Transactions on Mathematical Software. 22, 1-8.

See Also

tri, print.tri, plot.tri, summary.tri, triangles

Examples

Run this code
data(tritest)
tritest.tr<-tri.mesh(tritest$x,tritest$y)
tritest.nb<-neighbours(tritest.tr)

Run the code above in your browser using DataCamp Workspace