Path: Common/ComponentModels
% Aggregate CAD component vertices and faces.
This is useful with external models with many components. Once you
aggregate them you can rotate and translate the assembly.
Type AggregateComponents for a demo with a Box and a Frustrum.
--------------------------------------------------------------------------
Form:
[v,f] = AggregateComponents(c)
--------------------------------------------------------------------------
------
Inputs
------
c (:) Data structure array of components
.v (:,3) Vertices
.f (:,3) Faces
scale (1,1) Scale factor for the vertices
-------
Outputs
-------
v (:,3) Vertices, combined from the components
f (:,3) Faces
--------------------------------------------------------------------------
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 Math: Linear/Mag
Back to the Common Module page