/** * Returns a new point of interest with the given NAME which position is defined by the given * location in LAT1, LON1 and the DISTANCE to move from that position the in the direction * defined by the given ANGLE * @param NAME * @param LAT1 * @param LON1 * @param DISTANCE * @param ANGLE * @return Poi that was calculated by moving the given point about the given distance and angle */ public Poi shiftTo(final String NAME, final double LAT1, final double LON1, final double DISTANCE, final double ANGLE) { return shiftTo(new Poi(NAME, LAT1, LON1), DISTANCE, ANGLE); }
/** * Returns a new point of interest with the given NAME which position is defined by the given * location in LAT1, LON1 and the DISTANCE to move from that position the in the direction * defined by the given ANGLE * @param NAME * @param LAT1 * @param LON1 * @param DISTANCE * @param ANGLE * @return Poi that was calculated by moving the given point about the given distance and angle */ public Poi shiftTo(final String NAME, final double LAT1, final double LON1, final double DISTANCE, final double ANGLE) { return shiftTo(new Poi(NAME, LAT1, LON1), DISTANCE, ANGLE); }