tidy3d.constants.GLANCING_CUTOFF# GLANCING_CUTOFF# If angle_theta is within GLANCING_CUTOFF of an odd multiple of np.pi/2 in an angled source or in mode spec, raise warning.