poly_center: Calculate the Polygon Center

Description Usage Arguments Value Author(s) See Also

View source: R/rase_source.r

Description

For internal use only.

Usage

1

Arguments

poly

a polygon in owin.object format.

Value

If the range is only one polygon, it returns a vector of the polygon centroid coordinates. If it is more than one polygon, it first estimates the center of the polygon and then estimates the weighted mean between the polygons based on their area.

Author(s)

Ignacio Quintero, Forrest Crawford

See Also

rase


ignacioq/rase documentation built on Feb. 20, 2022, 3:16 p.m.