Filter points that are located on a curve

i have a large amount of points in 3d. some of these pointsare located dirctly on a 3d-curve. is there a possibility to only get these points?
something like a curveXpoint component (which obviously makes no sense as the intersection is a point again)

Use Curve CP to get the distance from each point to the curve, then use a Cull Pattern component to remove all those points whose distance is larger than some small value. Don’t compare against zero, always use a small value such as 1e-6 or 1e-10 as it is unlikely that a 3D point and a 3D curve exactly intersect.

thanks a lot for the quick response!
meanwhile i got some success with collision one(the curve)/many(the points). any objections to this method?