Interface NoiseSource

All Known Subinterfaces:
ExplicitNoiseGenerator<NR>, ExplicitNoiseSource<NR>, NoiseGenerator, NoiseModule, SeededExplicitNoiseGenerator<NR>, SeededNoiseGenerator
All Known Implementing Classes:
BlendModule, CheckerboardNoiseGenerator, CombinationModule, ConstantNoiseGenerator, CylinderNoiseGenerator, FastSimplexNoiseGenerator, GaussianWhiteNoiseGenerator, JNoise, JNoiseDetailed, OctavationModule, PerlinNoiseGenerator, SelectionModule, SphereNoiseGenerator, SuperSimplexNoiseGenerator, ValueNoiseGenerator, WhiteNoiseGenerator, WorleyNoiseGenerator

public interface NoiseSource
Interface that denotes a source of noise, which can evaluate a value at a specified location.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    evaluateNoise(double x)
    Evaluates noise at a 1D point.
    double
    evaluateNoise(double x, double y)
    Evaluates noise at a 2D point.
    double
    evaluateNoise(double x, double y, double z)
    Evaluates noise at a 3D point.
    double
    evaluateNoise(double x, double y, double z, double w)
    Evaluates noise at a 4D point.
  • Method Details

    • evaluateNoise

      double evaluateNoise(double x)
      Evaluates noise at a 1D point.
      Parameters:
      x - X-Coordinate of the 1D point.
      Returns:
      noise value at the 1D point.
    • evaluateNoise

      double evaluateNoise(double x, double y)
      Evaluates noise at a 2D point.
      Parameters:
      x - X-Coordinate of the 2D point.
      y - Y-Coordinate of the 2D point.
      Returns:
      noise value at the 2D point.
    • evaluateNoise

      double evaluateNoise(double x, double y, double z)
      Evaluates noise at a 3D point.
      Parameters:
      x - X-Coordinate of the 3D point.
      y - Y-Coordinate of the 3D point.
      z - Z-Coordinate of the 3D point.
      Returns:
      noise value at the 3D point.
    • evaluateNoise

      double evaluateNoise(double x, double y, double z, double w)
      Evaluates noise at a 4D point.
      Parameters:
      x - X-Coordinate of the 4D point.
      y - Y-Coordinate of the 4D point.
      z - Z-Coordinate of the 4D point.
      w - W-Coordinate of the 4D point.
      Returns:
      noise value at the 4D point.