Closed zsiki closed 1 year ago
The tin2grid used an absolute constant to decide if a point is inside a triangle. It didn't work if the grid was to rare and the triangles were too small. The absolute constant were change to relative one, it is calculated relative to the area of triangle.
Volume difference calculation gives 0.0 result if the grid size is too large comparing to the triangle size. It is used as a limit for point in triangle test.