Wave-front engineering by Huygens-Fresnel principle for nonlinear optical interactions in domain engineered structures.