Class Sample

  • Direct Known Subclasses:
    DoubleSample, IntegerSample

    public class Sample
    extends java.lang.Object
    Base class for all samples that ensures the Sample contains the raster coordinates it was sampled from.
    • Constructor Summary

      Constructors 
      Constructor Description
      Sample​(java.awt.Point sourcePosition)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Point getSourcePosition()
      Gets the source position in raster space this sample originates from.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Sample

        public Sample​(java.awt.Point sourcePosition)
    • Method Detail

      • getSourcePosition

        public java.awt.Point getSourcePosition()
        Gets the source position in raster space this sample originates from.
        Returns:
        The source Point.