polygonArea.polygon: Calculates the area of a polygon.

Description Usage See Also Examples

View source: R/polygon.R

Description

A method that computes the area of simple polygons of class polygon.

Usage

1

See Also

polygonArea, polygonArea.gpc.poly

Examples

1
2
poly <- newPolygon(c(0, 1, 1, 0), c(0, 0, 1, 1))
print(polygonArea(poly))

tunelipt/model3d documentation built on Nov. 5, 2019, 10:59 a.m.