protected override void SetOutputs(IGH_DataAccess da)
 {
     SurfaceEnvironmentType environment = new SurfaceEnvironmentType(srf, u_count, v_count, 1);
     //if (obs != null)
     //    environment.setContainer(cont);
     //else
     environment.setContainer();
     if (obs != null)
         environment.setObstacles(obs);
     da.SetData(0, environment);
     //da.SetDataList(1, environment.getPosition());
 }
        protected override void SetOutputs(IGH_DataAccess da)
        {
            SurfaceEnvironmentType environment = new SurfaceEnvironmentType(srf, u_count, v_count, 1);

            //if (obs != null)
            //    environment.setContainer(cont);
            //else
            environment.setContainer();
            if (obs != null)
            {
                environment.setObstacles(obs);
            }
            da.SetData(0, environment);
            //da.SetDataList(1, environment.getPosition());
        }
 public SurfaceEnvironmentType(SurfaceEnvironmentType srfenv)
     : this(srfenv._srf, srfenv.u, srfenv.v, srfenv.w)
 {
 }
 public SurfaceEnvironmentType(SurfaceEnvironmentType srfenv) : this(srfenv._srf, srfenv.u, srfenv.v, srfenv.w)
 {
 }