Path: AerospaceUtils/CAD
% Generates default properties for specific devices.
This function can perform the following actions:
* return a list of available device types
* return a list of parameters used to define any specific device
* return component data for the device when passed the needed parameters
The third form should only be used from within CreateComponent.
--------------------------------------------------------------------------
Form:
types = DeviceProperties
[p,g] = DeviceProperties( type )
m = DeviceProperties( type, m, properties, values, computeInertia )
--------------------------------------------------------------------------
------
Inputs
------
type (1,:) Type
m (:) Component struct
properties {:} Property names
values {:} Property values
mass (:) Mass structure
-------
Outputs
-------
types {:} List of all available device types
p (.) Properties data structure
g (.) Geometry fields data structure
m (:) Updated component struct
.v Vertices
.f Faces
--------------------------------------------------------------------------