Curve on a surface forms a constant angle with XY plane