private List <FE> TranslateFE(double Areq, A_Type a_Type, List <RSA_FE> Panel, double SkipA) { List <FE> l = new List <FE>(); Panel.ForEach(x => { var e = new FE(); e.ConvertFromRSA_FEToFE(x, a_Type); l.Add(e); }); var v = new GeneratorOfIsolines(l); return(v.GetNewNodesInFE((Areq + SkipA))); }
private FE GetNewFEFrom4And3Nodes(FE fE, double Areq) { for (int i = 0; i < fE.nodes.Count; i++) { var j = (i == fE.nodes.Count - 1) ? 0 : i + 1; if (fE.nodes[i].A > Areq) { fE.nodesForMapping.Add(fE.nodes[i]); } var n = PointSearcher(fE.nodes[i], fE.nodes[j], Areq); if (n != null) { fE.nodesForMapping.Add(n); } } return(fE); }