Therefore, when the output light is detected at a specific position in the surface, the quantity or a time-resolved waveform of detected light greatly varies with change in the shape of medium, for example, depending upon whether it is a sphere or a rectangular parallelepiped.