Yes.

For example, if a segment hits a face of a box, then the ray cast callback will be notified with the box, the face normal, and the intersection fraction which you can derive the intersection point from using linear interpolation:

p = (1.0 - fraction) * p1 + fraction * p2.