in_bbox: Check if a point is in the bouding box

View source: R/in_bbox.R

in_bboxR Documentation

Check if a point is in the bouding box

Description

Check if a point is in the bouding box

Usage

in_bbox(point, bbox)

Arguments

point

The point to be checked a c(x,y) vector

bbox

The bounding box bbox[i,j] if i=1 is the minimal value for the bbox and i=2 the maximal value, j=1 corresponds to the x dimension and j=2 to the y dimension

Value

a boolean


papayoun/Rhabit documentation built on July 19, 2023, 8:04 p.m.