(xlim,ylim,zlim, action)
| 29 | |
| 30 | #a handy point iterator, calls action() on each point |
| 31 | def forEachPoint(xlim,ylim,zlim, action): |
| 32 | for z in range(0,zlim+1): |
| 33 | for y in range(0,ylim+1): |
| 34 | for x in range(0,xlim+1): |
| 35 | action((x,y,z)) |
| 36 | |
| 37 | #make geometry |
| 38 | points = vtkPoints() |
no test coverage detected