find_smallest_enclosing_rect: Find smallest enclosing rectangle.

Description Usage Arguments Value

View source: R/trigonometry.R

Description

Algorithm from William Huber (http://gis.stackexchange.com/a/22934) and Bangyou (http://gis.stackexchange.com/a/174577).

Usage

1

Arguments

points

A matrix or data.frame of point coordinates with the first column being x and the second being y.

Value

A vector of lenght three, center x and y, and radius.


Ax3man/trackr documentation built on Oct. 8, 2019, 10:53 p.m.