dot-min_rectangle: Find the minimum bounding rectangle that encloses a set of...

.min_rectangleR Documentation

Find the minimum bounding rectangle that encloses a set of points

Description

This is a helper function called by get_bounding_rectangle.

Usage

.min_rectangle(X, Y = NULL)

Arguments

X, Y

The X and Y arguments provide the point coordinates. Any reasonable way of defining the coordinates is acceptable. See the function xy.coords for details. If supplied separately, they must be of the same length.

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.