Package PamUtils

Interface PamCoordinate

All Known Implementing Classes:
Coordinate3d, GpsData, LatLong, LatLongTime, PamVector, ReceiverReference, TimeFrequencyPoint

public interface PamCoordinate
Interface to put behind several existing PAM objects so that they can start working in a common way without having to totally rewrite everything. Applying initially to Coordinate3d and PamVector.

While dealing with x,y,z,it is possible that, particularly in the GeneralProjector class (that this is going to be used with) these dimensions might get used for other coordinate frames.

Author:
dg50
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getCoordinate(int iCoordinate)
    Get an indexed coordinate.
    int
     
    void
    setCoordinate(int iCoordinate, double value)
    Set a coordinate value
  • Method Details

    • getCoordinate

      double getCoordinate(int iCoordinate)
      Get an indexed coordinate.
      Parameters:
      iCoordinate - coordinate index.
      Returns:
      coordinate value.
    • setCoordinate

      void setCoordinate(int iCoordinate, double value)
      Set a coordinate value
      Parameters:
      iCoordinate - index of coordinate (0,1,2)
      value - value to set.
    • getNumCoordinates

      int getNumCoordinates()
      Returns:
      the number of coordinates.