Class WorleyNoiseResult

java.lang.Object
de.articdive.jnoise.generators.noisegen.worley.WorleyNoiseResult
All Implemented Interfaces:
NoiseResult

public final class WorleyNoiseResult extends Object implements NoiseResult
This class wraps the result of Worley Noise.
  • Method Details

    • getValue

      public double getValue()
      Gets the current (already modified) noise value.
      Specified by:
      getValue in interface NoiseResult
      Returns:
      the current, possibly modified, noise value.
    • setValue

      public void setValue(double value)
      Sets the noise value, usually used by NoiseModifier in post-processing.
      Specified by:
      setValue in interface NoiseResult
      Parameters:
      value - new output for the pure mathematical value of the noise result.
    • getUnmodifiedValue

      public double getUnmodifiedValue()
      The unmodified noise value. (The noise before modifiers were run).
      Returns:
      the unmodified noise value.
    • getClosestPoint

      public @org.jspecify.annotations.Nullable double[] getClosestPoint()
      Returns the feature point to the specified noise coordinates.
      Returns:
      array of double representing the location vector of the closest point.