# TubePlot Curve¶

tube.spad line 1 [edit on github]

Curve: PlottableSpaceCurveCategory

Package for constructing tubes around 3-dimensional parametric curves. Domain of tubes around 3-dimensional parametric curves.

- closed?: % -> Boolean
`closed?(t)`

tests whether the given tube plot`t`

is closed.

- getCurve: % -> Curve
`getCurve(t)`

returns the PlottableSpaceCurveCategory representing the parametric curve of the given tube plot`t`

.

- listLoops: % -> List List Point DoubleFloat
`listLoops(t)`

returns the list of lists of points, or the ‘loops’, of the given tube plot`t`

.

- open?: % -> Boolean
`open?(t)`

tests whether the given tube plot`t`

is open.

- setClosed: (%, Boolean) -> Boolean
`setClosed(t, b)`

declares the given tube plot`t`

to be closed if`b`

is`true`

, or if`b`

is`false`

,`t`

is set to be open.

- tube: (Curve, List List Point DoubleFloat, Boolean) -> %
`tube(c, ll, b)`

creates a tube of the domain TubePlot from a space curve`c`

of the category PlottableSpaceCurveCategory, a list of lists of points (loops)`ll`

and a boolean`b`

which if`true`

indicates a closed tube, or if`false`

an open tube.