According to the Cartesian sign convention in ray optics,
All distances are taken positive.
All distances are taken negative.
All distances in the direction of the incident ray are taken positive.
All distances in the direction of the incident ray are taken negative.