Hi all,
For a custom meshing algorithm (that inserts vertices at specific points) I need a way to know if a point is inside a geometry using the MATLAB livelink, without relying on an existing mesh. Any ideas on how to accomplish this?
Note that I'm not looking for e.g. points near a vertex, or points inside the existing mesh, as this would make the algorithm moot, but rather something that uses the full geometry incl. curved surfaces (as the actual model is curve heavy).
My current solution relies in calling mphinterp and checking for Nan's, but I'm not sure it's precise enough and it requires solving the model with a wrong mesh before being able to actually synthesize the right mesh. Thank you!