Learn R Programming

habtools (version 1.1.1)

extent: 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)

Value

A value, the extent of the mesh or DEM.

Arguments

data

Digital elevation model of class RasterLayer or a triangular mesh of class mesh3d.

Examples

Run this code
habtools::extent(mcap)
habtools::extent(horseshoe)

Run the code above in your browser using DataLab