If one wished to determine if a shadow is falling on a given point on a surface, how does one do so?

Tnx.