General Program Information
Input Definitions
Inputs Needed to Call the Channel Function
Inputs Defined within the Channel Function
origin - is a 3*1 matrix with x,y,z positions corresponding to the point where the first lamella will be drawn.
amp - specifies the amplitude of the lamina
w - specifies the width of an individual lamina
l - specifies the length of an individual lamina
t - specifies the thickness of an individual lamina
periods - specifies the period of one curve of the lamina.
angle - specifies the angle of the lamina relative to the floor of the tank.
numbaffles - specifies the number baffles in the tank
numbafflescol -
xspace -
yspace -
Technical Program Outline
lamina0 - The zoomwinA function creates a close-up view based on two points to specify the window size.
p1:
- x: origin0 - w - zc
- y: origin1
- z: origin2
p2:
- x: origin0 + w + zc
- y: origin1 + 1 + zc
- z: origin2
for loop
laminalast -
laminai+1 -
laminai+2 -
laminai+3 -
laminai+4 -
laminai+5 -
laminai+6 -
laminai+7 -
line0 -
line1 -
laminai+8 -
laminai+9 -
laminai+10 -
laminai+11 -
laminai+12 -
laminai+13 -
laminai+14 -
laminai+15 -
laminai+16 -
lamina -