get_box_polygon: Get bounding box around polygons

Description Usage Arguments Value

Description

Get bounding box around polygons

Usage

1
get_box_polygon(polygon, xfrac = 0.1, yfrac = 0.1)

Arguments

polygon

a list of list of matrices.

xfrac

From splancs's doc: The fraction of the width of the point pattern by which the box will surround the point pattern to the left and right. Given to sbox.

yfrac

From splancs's doc: The fraction of the height of the point pattern by which the box will surround the point pattern to the top and bottom. Given to sbox.

Value

A polygon representing a square around the given polygon.


pierrejacob/RShapeTarget documentation built on May 25, 2019, 6:07 a.m.