interp (version 1.1-6)

arcs: Extract a list of arcs from a triangulation object.

Description

This function extracts a list of arcs from a triangulation object created by tri.mesh.

Usage

arcs(tri.obj)

Value

A matrix with two columns "from" and "to" containing the indices of points connected by the arc with the corresponding row index.

Arguments

tri.obj

object of class triSht

Author

Albrecht Gebhardt <albrecht.gebhardt@aau.at>, Roger Bivand <roger.bivand@nhh.no>

Details

This function acesses the arcs component of a triangulation object returned by tri.mesh and extracts the arcs contained in this triangulation. This is e.g. used for plotting.

See Also

triSht, triangles, area

Examples

Run this code
data(franke)
tr <- tri.mesh(franke$ds3)
arcs(tr)

Run the code above in your browser using DataLab