bbCoords: Extract Boundary of Polygon as a Spatial Points Object

Description Usage Arguments Value Examples

View source: R/bbCoords.R

Description

Extracts a bounding box object taken from a spatial polygons data frame and returns a spatial points object with four coordinates representing the bounding box.

Usage

1
bbCoords(SpatPolygon)

Arguments

SpatPolygon

Spatial Polygons object

Value

Spatial Points object of length 4

Examples

1
2
require(ar.matrix)
bbCoords(US.df)

nmmarquez/PointPolygon documentation built on Dec. 10, 2020, 1:15 a.m.