1 package edu.berkeley.qfat.voxel;
2 import edu.berkeley.qfat.*;
3 import edu.berkeley.qfat.geom.*;
6 * A sampled field in 3-space; positive values indicate the
7 * <b>interior</b> of the object.
9 public interface ScalarField {
11 public float getSample(Point p);
13 /** transform the scalar field in space */
14 public ScalarField transform(Matrix m);
16 /** add f to all scalar values */
17 public ScalarField plus(float f);
19 /** multiply all scalar values by f */
20 public ScalarField times(float f);