interp (version 1.1-6)

area: Extract a list of triangle areas from a triangulation object.

Description

This function returns a list containing the areas of each triangle of a triangulation object created by tri.mesh.

Usage

area(tri.obj)

Value

A vector containing the area values.

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 cclist component of a triangulation object returned by tri.mesh and extracts the areas of the triangles contained in this triangulation.

See Also

triSht, triangles, arcs

Examples

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

Run the code above in your browser using DataLab