ExpressionTubePlot¶
tube.spad line 167 [edit on github]
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 ofs
, which may be a function of a constant, and returns a function which always returns the value DoubleFloats
.
- 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 radiusr
(t
) withn
points on each circle about the curvex = f(t)
,y = g(t)
,z = h(t)
fort
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 radiusr(t)
withn
points on each circle about the curvex = f(t)
,y = g(t)
,z = h(t)
fort
in[a,b]
. Ifs
= “closed”, the tube is considered to be closed; ifs
= “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 radiusr
withn
points on each circle about the curvex = f(t)
,y = g(t)
,z = h(t)
fort
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 radiusr
withn
points on each circle about the curvex = f(t)
,y = g(t)
,z = h(t)
fort
in[a, b]
. Ifs
= “closed”, the tube is considered to be closed; ifs
= “open”, the tube is considered to be open.