Learn R Programming

rayvertex (version 0.12.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(run_documentation()) {
#Calculates the center of the mesh
get_mesh_bbox(generate_cornell_mesh())
}

Run the code above in your browser using DataLab