Added 'GetPlanetNearBorder' method