contour3d: Compute Isosurface, a Three Dimension Contour

Description Usage Arguments Value

View source: R/contour3d.R

Description

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

Usage

1
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


rmarchingcubes documentation built on June 17, 2021, 1:07 a.m.