Function transvoxel::extraction::extract_from_field [−][src]
pub fn extract_from_field<D, F>(
field: F,
block: &Block,
threshold: D,
transition_sides: TransitionSides
) -> Mesh where
D: Density,
F: ScalarField<D>,
Expand description
Extracts an iso-surface Mesh for a ScalarField
Arguments:
field
: the density fieldblock
: the world zone for which to extract, and its subdivisions countthreshold
: density value defining the iso-surfacetransition_sides
: the set of sides of the block which need to be adapted to neighbour double-resolution blocks (twice the subdivisions)