poly_area: poly_area

poly_areaR Documentation

poly_area

Description

Mainly for internal use. Determines the area of a polygon based on its x and y coordinates. This function is a reimplementation of 'soiltexture::TT.polygon.area()' and only re-implemented to avoid extra dependencies.

Usage

poly_area(poly_x, poly_y)

Arguments

poly_x

(numeric) X coordinates of each vertices of the polygon

poly_y

(numeric) Y coordinates of each vertices of the polygon

Value

A numeric, the area of the polygon.

See Also

soiltexture::TT.polygon.area()


m-jahn/WeightedTreemaps documentation built on Dec. 15, 2024, 10:09 a.m.