Learn R Programming

rayvertex (version 0.15.0)

get_mesh_bbox: Get Mesh Bounding Box

Description

Calculates the bounding box of a mesh

Usage

get_mesh_bbox(mesh)

Value

2x3 numeric matrix

Arguments

mesh

The mesh object.

Examples

Run this code
if (FALSE) { # interactive() || isTRUE(as.logical(Sys.getenv("IN_PKGDOWN")))
#Calculates the center of the mesh
get_mesh_bbox(generate_cornell_mesh())
}

Run the code above in your browser using DataLab