am using gts_point_is_inside_surface on points whose bounding boxes are
being intersected by the surface to find out which of these points lie
inside and which lie outside. I have attached the results I get when I
visualize it to show that on one edge of the cube that intersects the
bounding boxes the points are considered to be inside whereas on the other
edge which intersecting the bounding boxes the points are considered to be
outside. I tried the routine gts_point_is_in_triangle but the same problem
arises. The attached file gts_point_is_inside_surface.pdf shows the open
cube surface as a solid surface and the bounding boxes of the points inside
the surface in red. The points on one of the sides of the cube are missing.