Class GpxImageDirectionPositionSettings

java.lang.Object
org.openstreetmap.josm.data.gpx.GpxImageDirectionPositionSettings

Image direction / position modification settings used by GpxImageCorrelationSettings.
Since:
18061
  • Field Details

  • Constructor Details

    • GpxImageDirectionPositionSettings

      public GpxImageDirectionPositionSettings(boolean setImageDirection, double imageDirectionAngleOffset, boolean setGpxTrackDirection, double shiftImageX, double shiftImageY, double elevationShift)
      Constructs a new GpxImageDirectionPositionSettings.
      Parameters:
      setImageDirection - determines if image direction must be set towards the next GPX waypoint
      imageDirectionAngleOffset - direction angle offset in degrees
      setGpxTrackDirection - determines if image course direction must be set
      shiftImageX - image shift on X axis relative to the direction in meters
      shiftImageY - image shift on Y axis relative to the direction in meters
      elevationShift - image elevation shift in meters
      Since:
      19387 @setGpsTrackDirection was added
  • Method Details

    • isSetImageDirection

      public boolean isSetImageDirection()
      Determines if image direction must be set towards the next GPX waypoint
      Returns:
      true if image direction must be set towards the next GPX waypoint
    • getImageDirectionAngleOffset

      Returns direction angle offset in degrees
      Returns:
      direction angle offset in degrees
    • isSetGpxTrackDirection

      public boolean isSetGpxTrackDirection()
      Determines if GPS course direction must be set. Angle value is from the gpx trace.
      Returns:
      true if image GPS course must be set
      Since:
      19387
    • getShiftImageX

      public double getShiftImageX()
      Returns image shift on X axis relative to the direction in meters
      Returns:
      image shift on X axis relative to the direction in meters
    • getShiftImageY

      public double getShiftImageY()
      Returns image shift on Y axis relative to the direction in meters
      Returns:
      image shift on Y axis relative to the direction in meters
    • getElevationShift

      public double getElevationShift()
      Returns image elevation shift in meters
      Returns:
      image elevation shift in meters
    • toString

      public String toString()
      Overrides:
      toString in class Object