How can I project points created with PCG onto meshes?

Hello, how can I project points created with PCG onto meshes? I only found out how to project them onto the landscape.

Thank you.

Thanks a lot. I was looking for this for ages.

Is there a same way - from SplineSampler (on interior)?