elev {doolkit}R Documentation

elevation

Description

Compute the elevation (z component of triangle barycenter).

Usage

elev(mesh, origin = TRUE)

Arguments

mesh

object of class mesh3d

origin

logical, if TRUE the z of the mesh is adjusted so that the lowest z = 0 (see dkorigin)

Value

A numeric vector of elevation values for all the polygons of the mesh.

See Also

inclin

rfi

slope

Examples

elev <- elev(dkmodel$cusp)
summary(elev)

#render on a map:
dkmap(dkmodel$cusp, elev)

[Package doolkit version 1.42.2 Index]