Ray shooting, implicit point location, and related queries in arrangements of segments