function bridgeStruct = getBridgeStruct(span, height, sections)
%bridgeStruct = getBridgeStruct(span, height, sections)
%
%returns a struct representig the bridge with the fields:
%span
%height
%sections
%numJoints
%numMembers

bridgeStruct = struct('span', span, 'height', height, 'sections', sections, ...
    'numJoints', sections * 2, 'numMembers', sections * 4 - 3);