get_best_angle {rTLsDeep}R Documentation

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)

Arguments

las

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

Value

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

Examples

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

(get_best_angle(las))


[Package rTLsDeep version 0.0.5 Index]