Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

Arguments

tri.obj

object of class triSht

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.

Value

A vector containing the area values.

Author(s)

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

See Also

Examples

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

interp

Interpolation Methods

v1.0-33
GPL (>= 2)
Authors
Albrecht Gebhardt [aut, cre, cph] (...), Roger Bivand [aut], David Sinclair [aut, cph]
Initial release
2020-01-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.