Package org.openstreetmap.josm.data.gpx
Class GpxImageDirectionPositionSettings
- java.lang.Object
-
- org.openstreetmap.josm.data.gpx.GpxImageDirectionPositionSettings
-
public class GpxImageDirectionPositionSettings extends Object
Image direction / position modification settings used byGpxImageCorrelationSettings
.- Since:
- 18061
-
-
Field Summary
Fields Modifier and Type Field Description private double
elevationShift
private double
imageDirectionAngleOffset
private boolean
setImageDirection
private double
shiftImageX
private double
shiftImageY
-
Constructor Summary
Constructors Constructor Description GpxImageDirectionPositionSettings(boolean setImageDirection, double imageDirectionAngleOffset, double shiftImageX, double shiftImageY, double elevationShift)
Constructs a newGpxImageDirectionPositionSettings
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getElevationShift()
Returns image elevation shift in metersdouble
getImageDirectionAngleOffset()
Returns direction angle offset in degreesdouble
getShiftImageX()
Returns image shift on X axis relative to the direction in metersdouble
getShiftImageY()
Returns image shift on Y axis relative to the direction in metersboolean
isSetImageDirection()
Determines if image direction must be set towards the next GPX waypointString
toString()
-
-
-
Field Detail
-
setImageDirection
private final boolean setImageDirection
-
imageDirectionAngleOffset
private final double imageDirectionAngleOffset
-
shiftImageX
private final double shiftImageX
-
shiftImageY
private final double shiftImageY
-
elevationShift
private final double elevationShift
-
-
Constructor Detail
-
GpxImageDirectionPositionSettings
public GpxImageDirectionPositionSettings(boolean setImageDirection, double imageDirectionAngleOffset, double shiftImageX, double shiftImageY, double elevationShift)
Constructs a newGpxImageDirectionPositionSettings
.- Parameters:
setImageDirection
- determines if image direction must be set towards the next GPX waypointimageDirectionAngleOffset
- direction angle offset in degreesshiftImageX
- image shift on X axis relative to the direction in metersshiftImageY
- image shift on Y axis relative to the direction in meterselevationShift
- image elevation shift in meters
-
-
Method Detail
-
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
public double getImageDirectionAngleOffset()
Returns direction angle offset in degrees- Returns:
- direction angle offset in degrees
-
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
-
-