Structured variables

Info about design forms features
PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55

Structured variables

Postby PetrS » 16 Jul 2014, 07:51

size=150Structured variables/size

ubGeneral structured variable:/b/u
Structured variable is a container of multiple values. Structured variables can be nested and create tree-like structure of nodes, subnodes and value leafs.
uConstructors:/u
list
*new Structure() - Initialize emtpy structured variable/*:m
*new Structure(string Key1, object Value1, ... string KeyN, object ValueN) - Initialize structure with given properties. Properties names are defined with Keys, properties values are defined by Values./*:m/list:u


ubMaterialDiagram:/b/u
MaterialDiagram is array of structured variables { eps, sig } defining material diagram.
uConstructor:/u
list
*new MaterialDiagram(double eps1, double sig1, ... , double epsN, double sigN) - initialize array of structured variables eps, sig with given values./*:m/list:u

ubDiagramPoint/b/u
DiagramPoint is structured variable { eps, sig } defining one point of material diagram.
uConstructor:/u
list
*new DiagramPoint(double eps, double sig) - initialize structured variable {eps, sig} with given values./*:m/list:u

ubReinfBar structure/b/u
ReinfBar structure is used to define position and diameter of reinforcement bar. Structure contains properties X, Y, D.
uConstructor:/u
list
*new ReinfBar(double X, double Y, double D)/*:m/list:u

See attached examples for more info.
Attachments
MaterialDiagram.cls
(7.77 KiB) Downloaded 398 times
Structure.cls
(17.51 KiB) Downloaded 389 times
Ing. Petr Slepicka
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!

Return to “Design forms features”

Who is online

Users browsing this forum: No registered users and 4 guests