bbox3d: Find the bounding box of a 'rgl::mesh3d' or 'rgl::qmesh3d'...

View source: R/bbox3d.R

bbox3dR Documentation

Find the bounding box of a rgl::mesh3d or rgl::qmesh3d object

Description

Ellipsoids are created by rgl functions as meshes of points, segments, ... from coordinates in various forms. This function calculates the bounding box, defined as the range of the x, y, and z coordinates.

Usage

bbox3d(x, ...)

Arguments

x

A mesh3d object

...

ignored

Value

A 2 x 3 matrix, giving the minimum and maximum values in the rows and x, y, z coordinates in the columns.


heplots documentation built on May 29, 2024, 9:24 a.m.