Interface RealPositionable

All Superinterfaces:
EuclideanSpace, Positionable
All Known Subinterfaces:
RealOutOfBounds<T>, RealRandomAccess<T>
All Known Implementing Classes:
AbstractConvertedRealRandomAccess, AbstractPositionableTransform, BiConvertedRealRandomAccess, ClampingNLinearInterpolatorRealType, ClampingNLinearInterpolatorVolatileARGB, ClampingNLinearInterpolatorVolatileRealType, ConvertedRealRandomAccess, Floor, FloorInterpolator, FloorOffset, FunctionRealRandomAccessible.RealFunctionRealRandomAccess, InverseDistanceWeightingInterpolator, LanczosInterpolator, LinearRealRandomAccessibleStackInterpolator, Localizables.RealLocationRealRandomAccess, NearestNeighborInterpolator, NearestNeighborRealRandomAccessibleStackInterpolator, NearestNeighborSearchInterpolator, NLinearInterpolator, NLinearInterpolator1D, NLinearInterpolator2D, NLinearInterpolator3D, NLinearInterpolatorARGB, RealComposite, RealOutOfBoundsRealRandomAccess, RealPoint, RealPointSample, RealPositionRealRandomAccessible.RealPositionRealRandomAccess, Round

public interface RealPositionable extends Positionable
An element that can be positioned in n-dimensional real space.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    move(double[] distance)
    Move the element relative to its current location using a float[] as distance vector.
    void
    move(double distance, int d)
    Move the element in one dimension for some distance.
    void
    move(float[] distance)
    Move the element relative to its current location using a float[] as distance vector.
    void
    move(float distance, int d)
    Move the element in one dimension for some distance.
    void
    Move the element relative to its current location using a RealLocalizable as distance vector.
    void
    setPosition(double[] position)
    Set the position of the element.
    void
    setPosition(double position, int d)
    Set the position of the element for one dimension.
    void
    setPosition(float[] position)
    Set the position of the element.
    void
    setPosition(float position, int d)
    Set the position of the element for one dimension.
    void
    Place the element at the same location as a given RealLocalizable

    Methods inherited from interface EuclideanSpace

    numDimensions
  • Method Details

    • move

      void move(float distance, int d)
      Move the element in one dimension for some distance.
      Parameters:
      distance -
      d -
    • move

      void move(double distance, int d)
      Move the element in one dimension for some distance.
      Parameters:
      distance -
      d -
    • move

      void move(RealLocalizable distance)
      Move the element relative to its current location using a RealLocalizable as distance vector.
      Parameters:
      distance - relative offset, EuclideanSpace.numDimensions() must be ≥ EuclideanSpace.numDimensions()
    • move

      void move(float[] distance)
      Move the element relative to its current location using a float[] as distance vector.
      Parameters:
      distance - , length must be ≥ EuclideanSpace.numDimensions()
    • move

      void move(double[] distance)
      Move the element relative to its current location using a float[] as distance vector.
      Parameters:
      distance - , length must be ≥ EuclideanSpace.numDimensions()
    • setPosition

      void setPosition(RealLocalizable position)
      Place the element at the same location as a given RealLocalizable
      Parameters:
      position - absolute position, EuclideanSpace.numDimensions() must be ≥ EuclideanSpace.numDimensions()
    • setPosition

      void setPosition(float[] position)
      Set the position of the element.
      Parameters:
      position - absolute position, length must be ≥ EuclideanSpace.numDimensions()
    • setPosition

      void setPosition(double[] position)
      Set the position of the element.
      Parameters:
      position - absolute position, length must be ≥ EuclideanSpace.numDimensions()
    • setPosition

      void setPosition(float position, int d)
      Set the position of the element for one dimension.
      Parameters:
      position -
      d -
    • setPosition

      void setPosition(double position, int d)
      Set the position of the element for one dimension.
      Parameters:
      position -
      d -