org.jvnet.substance.painter.noise
public class MedianBeakFilter extends java.lang.Object implements NoiseFilter
NoiseFilter.TrigKind
Constructor and Description |
---|
MedianBeakFilter() |
Modifier and Type | Method and Description |
---|---|
double |
apply(double x,
double y,
double z,
double origValue)
Applies filter on the noise at the specified location.
|
public double apply(double x, double y, double z, double origValue)
NoiseFilter
apply
in interface NoiseFilter
x
- X coordinate.y
- Y coordinate.z
- Z coordinate.origValue
- The original noise value.