# - checkPointInCEBB (array) - import Generator as G import Transform as T Ni = 20; Nj = 20 a1 = G.cart((0,0,0),(1./Ni,0.5/Nj,1),(Ni,Nj,2)) a2 = G.cart((-0.1,0,0),(0.5/Ni, 0.5/Nj, 1), (Ni,Nj,2)) a2 = T.rotate(a2, (-0.1,0,0), (0,0,1), 0.22) # Check if point is in CEBB of mesh2 val = G.checkPointInCEBB(a2, (0.04839, 0.03873, 0.5)); print(val)