extent {habtools} | R Documentation |
Calculate extent of a 3D object
Description
This function calculates the extent or largest length of the bounding box of a mesh or a DEM.
Usage
extent(data)
Arguments
data |
Digital elevation model of class RasterLayer or a triangular mesh of class mesh3d. |
Value
A value, the extent of the mesh or DEM.
Note
There are several extent function is other packages, including the raster package. Therefore it is recommended to use the package namespace, see examples below.
Examples
habtools::extent(mcap)
habtools::extent(horseshoe)
[Package habtools version 1.0.5 Index]