meshcube: calculate the corners of a mesh's bouning box

View source: R/meshcube.r

meshcubeR Documentation

calculate the corners of a mesh's bouning box

Description

calculate the corners of a mesh's bouning box

Usage

meshcube(x)

Arguments

x

object of class 'mesh3d'

Value

returns a 8 x 3 matrix with the coordinates of the corners of the bounding box.

Examples


require(rgl)
data(boneData)
mc <- meshcube(skull_0144_ch_fe.mesh)
## Not run: 
spheres3d(mc)
wire3d(skull_0144_ch_fe.mesh)

## End(Not run)


zarquon42b/Morpho documentation built on Sept. 5, 2024, 9:57 p.m.