Classes | |
class | MengerThread |
Multi-threaded ###. More... | |
Functions | |
def | makeMengerSponge (level=3, x0=0, y0=0, z0=0) |
Single-threaded ###. More... | |
def | makeMengerSponge_mt (level=3, x0=0, y0=0, z0=0) |
def | PlaceBox (x, y, z) |
def | Sierpinski (level, x0, y0, z0) |
Variables | |
box = Mesh.createBox(1,1,1) | |
def MengerSponge.makeMengerSponge | ( | level = 3 , |
|
x0 = 0 , |
|||
y0 = 0 , |
|||
z0 = 0 |
|||
) |
Single-threaded ###.
References Sierpinski().
def MengerSponge.makeMengerSponge_mt | ( | level = 3 , |
|
x0 = 0 , |
|||
y0 = 0 , |
|||
z0 = 0 |
|||
) |
Is much slower than makeMengerSponge!!! :(
References Sierpinski().
def MengerSponge.PlaceBox | ( | x, | |
y, | |||
z | |||
) |
Referenced by Sierpinski().
def MengerSponge.Sierpinski | ( | level, | |
x0, | |||
y0, | |||
z0 | |||
) |
References PlaceBox(), and Sierpinski().
Referenced by makeMengerSponge(), makeMengerSponge_mt(), MengerSponge.MengerThread.run(), and Sierpinski().
MengerSponge.box = Mesh.createBox(1,1,1) |