Learn R Programming

rTLsDeep (version 0.0.5)

get_best_angle: Get best angle for plotting the tree

Description

Calculates the minimum oriented bounding box using the rotating calipers algorithm and extracts the angle

Usage

get_best_angle(las)

Value

Returns a list containing the model object with the required parameters and model_type used.

Arguments

las

An object of class LAS [lidR::readLAS()].

Examples

Run this code
lasfile <- system.file("extdata", "tree_c2.laz", package = "rTLsDeep")
las <- lidR::readLAS(lasfile)

(get_best_angle(las))

Run the code above in your browser using DataLab