SV Sverchok : Points in mesh, go outside mesh
point_inside_mesh is agnostic to the input, as long as it is a manifold mesh.

for example: a torus/donut with distortion.



The only feature that the points_inside_mesh node won't handle automatically is multiplanar-ngons, if one of your meshes has a face where not all edges lie in the same plane, then you must pre-process that face to get useful results.

This for instance would not be a good input, the results of both "Regular" and "Multisample" modes are going to be undefined. The NGon will not be tessellated according to everyone's tastes.



This however, is fine. The ngon gets triangulated by the triangulate Mesh node. I'm not sure if it makes a difference to the triangulation bmesh.ops whether you triangulate the ngon while they're still flat, or if you insert that triangulate node after the Noise Displace.



the downside with the automated tessellation is that it behaves best with planar ngons, passing it non-planar / multi-planar ngons requires a more sophisticated algorithm to generate nice quad/tri topology.