Interface Callback2d


  • public interface Callback2d
    Callback used for notifying about a new generated 2D sample.
    Author:
    Kai Burjack
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onNewSample​(float x, float y)
      Will be called whenever a new sample with the given coordinates (x, y) is generated.
    • Method Detail

      • onNewSample

        void onNewSample​(float x,
                         float y)
        Will be called whenever a new sample with the given coordinates (x, y) is generated.
        Parameters:
        x - the x coordinate of the new sample point
        y - the y coordinate of the new sample point