contour3d {rmarchingcubes}R Documentation

Compute Isosurface, a Three Dimension Contour

Description

Computes a 3D contours or isosurface by the marching cubes algorithm.

Usage

contour3d(griddata, level, x, y, z)

Arguments

griddata

A three dimensional array from which to calculate the contour

level

The level at which to construct the contour surface

x, y, z

locations of grid planes at which values in griddata are measured

Value

Returns a list with coordinates of each surface vertex, indices of the vertices that make up each triangle, and surface normals at each vertex


[Package rmarchingcubes version 0.1.3 Index]