Exemple #1
0
        public List <RFLineSupportForces> GetRFLineSupportForces(IResults results, IModelData data)
        {
            var myForces = new List <RFLineSupportForces>();

            foreach (var linesupport in data.GetLineSupports())
            {
                foreach (var line in linesupport.LineList.ToInt())
                {
                    var forces = results.GetLineSupportForces(line, ItemAt.AtNo, false);
                    myForces.Add(new RFLineSupportForces(forces));
                }
            }
            return(myForces);
        }
Exemple #2
0
        public List <RFLineSupportForces> GetRFLineSupportForces(IResults results, IModelData data, ref HashSet <ResultsValueType> types, bool local)
        {
            var myForces = new List <RFLineSupportForces>();

            foreach (var linesupport in data.GetLineSupports())
            {
                foreach (var line in linesupport.LineList.ToInt())
                {
                    var forces = results.GetLineSupportForces(line, ItemAt.AtNo, local);
                    myForces.Add(new RFLineSupportForces(forces));
                    foreach (var type in forces.Select(x => x.Type).Distinct())
                    {
                        types.Add(type);
                    }
                }
            }
            return(myForces);
        }