Learn R Programming

YplantQMC (version 0.6-6)

Silhouette: Calculates the area of the 2D convex hull of a projected plant

Description

Calculates the so-called 'silhouette area' of a projected plant. That is, the area of the (convex) outline of a projection of a plant onto a plane.

Usage

Silhouette(obj, azimuth = NA, altitude = NA)

Arguments

obj
Either a plant3d object, or a projectedplant3d object.
azimuth, altitude
Viewing azimuth and altitude (ignored if a projected plant is given as input).

See Also

summary.plant3d,STARbar,projectplant

Examples

Run this code


# Silhouette returns the area of the 2D convex hull (H), and the coordinates of the 2D hull (xyz):
Silhouette(sugarmaple, altitude=0, azimuth=45)

Run the code above in your browser using DataLab