Men's Prayer near Immodestly Dressed Woman

A man may not pray within visible distance of an immodestly dressed woman.  She must be far enough away that he cannot tell what she is wearing.  Alternatively, he can turn away from her.