Compute the axis-aligned bounding box of a mesh
Examples
mesh <- generate_cuboid(c(0, 0, 0), c(1, 2, 3))
bb <- mesh_bbox(mesh)
bb$min
#> [1] -1 -2 -3
bb$max
#> [1] 1 2 3
Compute the axis-aligned bounding box of a mesh
mesh <- generate_cuboid(c(0, 0, 0), c(1, 2, 3))
bb <- mesh_bbox(mesh)
bb$min
#> [1] -1 -2 -3
bb$max
#> [1] 1 2 3