Calculate 3D Contour Meshes Using the Marching Cubes Algorithm

A port of the C++ routine for applying the marching cubes algorithm written by Thomas Lewiner et al. (2012) into an R package. The package supplies the contour3d() function, which takes a 3-dimensional array of voxel data and calculates the vertices, vertex normals, and faces for a 3d mesh representing the contour(s) at a given level.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.3 by S. H. Wilks, 7 months ago

Report a bug at

Browse source code at

Authors: S. H. Wilks <[email protected]> [aut, cre] , Thomas Lewiner <[email protected]> [aut]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports Rcpp

Suggests rmarkdown, knitr, testthat

Linking to Rcpp, RcppArmadillo

See at CRAN