get_bounding_rectangle: Find the minimum bounding rectangle that encloses specified...

View source: R/tile_functions.R

get_bounding_rectangleR Documentation

Find the minimum bounding rectangle that encloses specified points.

Description

When called with a single argument for the LAS tile, this function returns the minimum bounding rectangle for the point cloud. The classes and flightlineIDs arguments can be used to define a subset of points to consider. If another kind of subset is required, the helper function link{.min_rectangle} can be used directly.

Usage

get_bounding_rectangle(las, classes = "all", flightlines = "all")

Arguments

las

A LAS object, e.g. imported using prepare_tile.

classes

Point classes to include: either a vector of integer class numbers or the string 'all' (default).

flightlines

Flight lines to include: either a vector of integer class numbers or the string 'all' (default).

Value

A data frame of corner vertices for the minimum bounding rectangle.

Adapted from code by 'whuber' at: https://gis.stackexchange.com/a/22934/59514


mbedward/CERMBlidar documentation built on April 10, 2024, 2:05 p.m.