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

View source: R/triangles.R

arcsR Documentation

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)

Arguments

tri.obj

object of class triSht

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.

Value

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

Author(s)

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

See Also

triSht, triangles, area

Examples

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

interp documentation built on May 29, 2024, 8:03 a.m.