get_circle_fit: Computes the 3d alpha shape, volume, surface area, and...

Description Usage Arguments Value Author(s) Examples

View source: R/get_circle_fit.R

Description

computes the 2d alpha shape, 2d convex hull a 3D set of points as well as ground diameter and diameter at breast height
To avoid collinearity a small random jitter is added to the points before alpha-shape computation.

Usage

1
2
3
4
get_circle_fit(
  input_cloud = data.frame(x = runif(20), y = runif(20), z = runif(20)),
  plot_fit = FALSE
)

Arguments

input_cloud

A file or data.frame containing a tree point cloud with x y z. If file, it assumes first three columns to be x y z without header. Futher columns are ignored.

plot_fit

Should the circle fit be plotted. Default to FALSE.

Value

A .txt files containing: CPA, CH, Height, GD, DBH, etc.

Author(s)

Matthias Kunz, last updated: 26.11.2019

Examples

1

spatial-mk/tre3d documentation built on April 1, 2020, 5:26 p.m.