fm_bbox {fmesher}R Documentation

Bounding box class

Description

Simple class for handling bounding box information

Usage

fm_bbox(...)

## S3 method for class 'list'
fm_bbox(x, ...)

## S3 method for class 'NULL'
fm_bbox(...)

## S3 method for class 'matrix'
fm_bbox(x, ...)

## S3 method for class 'fm_bbox'
fm_bbox(x, ...)

## S3 method for class 'fm_mesh_2d'
fm_bbox(x, ...)

## S3 method for class 'fm_segm'
fm_bbox(x, ...)

## S3 method for class 'fm_lattice_2d'
fm_bbox(x, ...)

## S3 method for class 'sf'
fm_bbox(x, ...)

## S3 method for class 'sfg'
fm_bbox(x, ...)

## S3 method for class 'sfc'
fm_bbox(x, ...)

## S3 method for class 'bbox'
fm_bbox(x, ...)

## S3 method for class 'inla.mesh'
fm_bbox(x, ...)

## S3 method for class 'inla.mesh.segment'
fm_bbox(x, ...)

fm_as_bbox(x, ...)

## S3 method for class 'fm_bbox'
x[i]

## S3 method for class 'fm_bbox'
c(...)

Arguments

...

Passed on to sub-methods

x

fm_bbox object from which to extract element(s)

i

indices specifying elements to extract

Value

A fm_bbox_list object

Methods (by class)

Methods (by generic)

Examples

fm_bbox(matrix(1:6, 3, 2))
m <- c(A = fm_bbox(cbind(1, 2), B = fm_bbox(cbind(3, 4))))
str(m)
str(m[2])

[Package fmesher version 0.1.5 Index]