-------------------------------------------------------------------------------
Generates default properties for specific devices.
This function can perform the following actions:
1. return a list of available device types
2. return a list of parameters used to define any specific device
3. 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 (1,1) Properties data structure
g (1,1) Geometry fields
m (:) Updated component struct
.v Vertices
.f Faces
-------------------------------------------------------------------------------