validate_bbox: Validate a bounding box

View source: R/utils.R

validate_bboxR Documentation

Validate a bounding box

Description

Checks that bbox is a numeric vector of length 4 with valid coordinate ordering: c(xmin, ymin, xmax, ymax).

Usage

validate_bbox(bbox)

Arguments

bbox

Numeric vector of length 4.

Value

bbox invisibly if valid; throws an error otherwise.


stacr documentation built on March 12, 2026, 5:07 p.m.