Strut:
--------------------------------------------------------------------------
Generate a variable radius strut going from x1 to x2.
If r2 is omitted, r2 = r1. If n is omitted n = 10;
Type Strut for a demo.
--------------------------------------------------------------------------
Form:
[v, f, vol] = Strut( x1, x2, r1, r2, n )
--------------------------------------------------------------------------
------
Inputs
------
x1 (3,1) Location of top
x2 (3,1) Location of bottom
r1 (1,1) Radius at top
r2 (1,1) Radius at bottom, optional
n (1,1) Number of circumferential divisions (default is 10)
-------
Outputs
-------
v (:,3) Vertices
f (:,3) Faces
vol (1,1) Volume
--------------------------------------------------------------------------
Children:
Common: Graphics/Frustrum
Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/Q2Mat
Common: Quaternion/U2Q
Math: Linear/Mag
Math: Linear/Unit