Tubing:

Path: Common/ComponentModels

% Generate a tube through the points p.
 If n is omitted n = 3. Type Tubing for a demo.
--------------------------------------------------------------------------
   Form:
   [v, f, l] = Tubing( p, d, n )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   p          (3,:) Points through which the tube must pass
   d          (1,1) Diameter
   n          (1,1) Number of divisons 

   -------
   Outputs
   -------
   v         (:,3)  Vertices
   f         (:,3)  Faces
   l         (1,1)  Total length of the tubing elements

--------------------------------------------------------------------------

Children:

Common: CommonData/SwooshWatermark
Common: ComponentModels/Box
Common: ComponentModels/Frustrum
Common: General/DeBlankLT
Common: General/Watermark
Common: Graphics/DrawVertices
Common: Graphics/NewFig
Common: Graphics/PltStyle
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/Q2Mat
Common: Quaternion/QTForm
Common: Quaternion/U2Q
Math: Geometry/Perpendicular
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit

Back to the Common Module page