Dynamical environment in the vicinity of asteroids with an application to 41 Daphne