area {interp} | R Documentation |
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 |
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)
[Package interp version 1.1-6 Index]