meshcube | R Documentation |
calculate the corners of a mesh's bouning box
meshcube(x)
x |
object of class 'mesh3d' |
returns a 8 x 3 matrix with the coordinates of the corners of the bounding box.
require(rgl)
data(boneData)
mc <- meshcube(skull_0144_ch_fe.mesh)
## Not run:
spheres3d(mc)
wire3d(skull_0144_ch_fe.mesh)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.