tube.spad line 167 [edit on github]
Package for constructing tubes around 3-dimensional parametric curves.
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(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(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.
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(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.