Do you mean actually hitting the origin? Or some form of containment? For that latter you'd really want a closed curve and also you would need to determine whether you want a direct hit to count as inside or outside.