# ExpressionTubePlotΒΆ

Author: Clifton `J`

. Williamson Date Created: Bastille Day 1989 Keywords: Examples: Package for constructing tubes around 3-dimensional parametric curves.

- constantToUnaryFunction: DoubleFloat -> DoubleFloat -> DoubleFloat
`constantToUnaryFunction(s)`

is a local function which takes the value of`s`

, which may be a function of a constant, and returns a function which always returns the value DoubleFloat`s`

.

- tubePlot: (Expression Integer, Expression Integer, Expression Integer, DoubleFloat -> DoubleFloat, Segment DoubleFloat, DoubleFloat -> DoubleFloat, Integer) -> TubePlot Plot3D
`tubePlot(f, g, h, colorFcn, a..b, r, n)`

puts a tube of radius`r`

(`t`

) with`n`

points on each circle about the curve`x = f(t)`

,`y = g(t)`

,`z = h(t)`

for`t`

in`[a, b]`

. The tube is considered to be open.

- tubePlot: (Expression Integer, Expression Integer, Expression Integer, DoubleFloat -> DoubleFloat, Segment DoubleFloat, DoubleFloat -> DoubleFloat, Integer, String) -> TubePlot Plot3D
`tubePlot(f, g, h, colorFcn, a..b, r, n, s)`

puts a tube of radius`r(t)`

with`n`

points on each circle about the curve`x = f(t)`

,`y = g(t)`

,`z = h(t)`

for`t`

in`[a,b]`

. If`s`

= “closed”, the tube is considered to be closed; if`s`

= “open”, the tube is considered to be open.

- tubePlot: (Expression Integer, Expression Integer, Expression Integer, DoubleFloat -> DoubleFloat, Segment DoubleFloat, DoubleFloat, Integer) -> TubePlot Plot3D
`tubePlot(f, g, h, colorFcn, a..b, r, n)`

puts a tube of radius`r`

with`n`

points on each circle about the curve`x = f(t)`

,`y = g(t)`

,`z = h(t)`

for`t`

in`[a, b]`

. The tube is considered to be open.

- tubePlot: (Expression Integer, Expression Integer, Expression Integer, DoubleFloat -> DoubleFloat, Segment DoubleFloat, DoubleFloat, Integer, String) -> TubePlot Plot3D
`tubePlot(f, g, h, colorFcn, a..b, r, n, s)`

puts a tube of radius`r`

with`n`

points on each circle about the curve`x = f(t)`

,`y = g(t)`

,`z = h(t)`

for`t`

in`[a, b]`

. If`s`

= “closed”, the tube is considered to be closed; if`s`

= “open”, the tube is considered to be open.