I noticed a weird difference of behavior between the stable 4.6.0 and a recent 4.6.1 build that Denis sent me (Ubuntu16).
Consider the following code:
Code: Select all
mesh = aims.read("/home/ftadel/test_cutmesh/test_mesh.gii")
testcut = aims.AimsSurfaceTriangle()
border = aims.AimsTimeSurface(2)
aims.SurfaceManip.cutMesh(mesh, [0.5225450036568081, 0.6545940900566004, -0.5463087921828437, -68.96895971837064], testcut, border)
print testcut.vertex().size()
https://www.dropbox.com/s/gqrevq0a2e8fi ... h.gii?dl=0
With 4.6.0, I get a correct mesh (755 vertices).
With 4.6.1, I get an empty mesh (0 vertices).
Is there anything that changed in this function or is this a bug?
Is there a way to get the previous output with the current function?
Thanks
François