Interface CartesianMultiPointCoordSet

All Superinterfaces:
MultiPointCoordSet
All Known Implementing Classes:
CartesianErrorCoordSet, CartesianVectorCoordSet, PlaneCorrelationCoordSet, PlaneEllipseCoordSet

public interface CartesianMultiPointCoordSet extends MultiPointCoordSet
MultiPointCoordSet sub-interface for Cartesian geometry.
Since:
8 Feb 2023
Author:
Mark Taylor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    readPoints(Tuple tuple, int icExtra, double[] dpos0, double[][] dposExtras)
    Reads the non-central points from a appropriate span of columns in a supplied tuple.

    Methods inherited from interface uk.ac.starlink.ttools.plot2.layer.MultiPointCoordSet

    getCoords, getPointCount
  • Method Details

    • readPoints

      boolean readPoints(Tuple tuple, int icExtra, double[] dpos0, double[][] dposExtras)
      Reads the non-central points from a appropriate span of columns in a supplied tuple. The central data position must be supplied as input. The icExtra value gives the column corresponding to the first coord of this coordinate set in the sequence; the following few columns are assumed to correspond 1:1 to the coords in this coord set.
      Parameters:
      tuple - tuple
      icExtra - index of tuple field corresponding to the first of the coordinates in this set
      dpos0 - nDataDim-element array giving central data position
      dposExtras - [nPointCount][nDataDim]-shaped array into which the non-central data positions will be written
      Returns:
      true iff the conversion was successful