}
// Compute the bottom point, which is on the terrain.
vert = terrain.getSurfacePoint(location.getLatitude(), location.getLongitude(), 0);
double delta = vaLength - vert.dot3(refPoint) / vaLength;
vert = vert.add3(vaa.multiply3(1d + delta / vaaLength));
}
else if (altitudeMode == WorldWind.RELATIVE_TO_GROUND)
{
vert = terrain.getSurfacePoint(location.getLatitude(), location.getLongitude(),