Ejemplo n.º 1
0
        /***************************************************/

        public static PanelPlanar SetInternalElements2D(this PanelPlanar panelPlanar, List <IElement2D> internalElements2D)
        {
            PanelPlanar pp = panelPlanar.GetShallowClone() as PanelPlanar;

            pp.Openings = new List <Opening>(internalElements2D.Cast <Opening>().ToList());
            return(pp);
        }
Ejemplo n.º 2
0
        /***************************************************/

        public static PanelPlanar SetOutlineElements1D(this PanelPlanar panelPlanar, List <IElement1D> outlineElements1D)
        {
            PanelPlanar pp = panelPlanar.GetShallowClone() as PanelPlanar;

            pp.ExternalEdges = new List <Edge>(outlineElements1D.Cast <Edge>());
            return(pp);
        }