{
return altPos;
}
Position posBeg = altPos.get(0);
Position posEndCur = altPos.get(1);
while(Math.abs(dblDistance - _DBL_DISTANCE_MAX_ALLOWED_) >= GfrDouble.DBL_EPSILON_THREE_DIGITS)
{
double weight= _DBL_DISTANCE_MAX_ALLOWED_ /dblDistance;
posEndCur = Position.interpolateGreatCircle(weight, posBeg, posEndCur);
dblDistance =
GfrUtilDmsOperation.s_getDistanceFromDeg(
posBeg.getLatitude().getDegrees(),
posBeg.getLongitude().getDegrees(),
posEndCur.getLatitude().getDegrees(),
posEndCur.getLongitude().getDegrees());
}
altPos.set(1, posEndCur);