ShapedStrut:
--------------------------------------------------------------------------
Generate strut going from x1 to x2.
Set the origin at the center of the crossection otherwise the ends may
not look correct.
See also Polygon and Extrude.
Type ShapedStrut for a demo.
--------------------------------------------------------------------------
Form:
[v, f, volume] = ShapedStrut( x1, x2, c )
--------------------------------------------------------------------------
------
Inputs
------
x1 (3,1) Location of top
x2 (3,1) Location of bottom
c (1,1) Crossection data
.x (1,m) x locations
.y (1,m) y locations
-------
Outputs
-------
v (:,3) Vertices
f (:,3) Faces
volume (1,1) Volume of the strut
--------------------------------------------------------------------------
Children:
Common: Graphics/Extrude
Common: Graphics/NewFig
Common: Graphics/Polygon
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/Q2Mat
Common: Quaternion/U2Q
Math: Linear/Mag
Math: Linear/Unit