I found very strange behaviour of Mesh.IsPointInside method.
When the Mesh is made precisely on the grid with precise dimension this method gets really wrong result.
Example: I’ve create Mesh by snap to grid, with 5x10x15 on size.
Then, I’ve created regular grid of points:
and I want to check for the inclusion.
It gives this:
I’v try by GH component and by pure C# method Mesh.IsPointInside. Either strict true nor false with any tolerance help.
But if I will move the mesh or little scale it, its give correct result:
So strange… Could you help me to solve that problem?
I’m using Rhino SR12 (5.12.50810.13095, 08/10/2015) with the newest GH…