Class FixedLengthVectorCoord

java.lang.Object
uk.ac.starlink.ttools.plot2.data.SingleCoord
uk.ac.starlink.ttools.plot2.data.FixedLengthVectorCoord
All Implemented Interfaces:
Coord

public abstract class FixedLengthVectorCoord extends SingleCoord
Coord implementation for a fixed-length array of values.
Since:
25 Jan 2025
Author:
Mark Taylor
  • Field Details

  • Constructor Details

    • FixedLengthVectorCoord

      protected FixedLengthVectorCoord(InputMeta meta, boolean isRequired, FixedLengthVectorCoord.VectorDomain domain, StorageType storage)
      Constructor.
      Parameters:
      meta - metadata for single input
      isRequired - true if this coordinate is required for plotting
      domain - domain
      storage - storage type
  • Method Details

    • readElements

      public abstract void readElements(Tuple tuple, int icol, double[] vec)
      Reads vector elements from a specified column in a given tuple into a supplied array.
      Parameters:
      tuple - tuple
      icol - index of field in tuple corresponding to this Coord
      vec - array of at least nel elements to receive the result