コード例 #1
0
        /// <summary>コピーコンストラクタ。</summary>
        /// <param name="previous"></param>
        public WaveguideDesignerProjectData(WaveguideDesignerProjectData previous) : base(previous)
        {
            VirtualGraphics = new VirtualGraphics();

            Layers                  = new LayerList(previous.Layers);
            Materials               = new MaterialList(previous.Materials);
            ProjectManifest         = new ProjectManifestData(previous.ProjectManifest);
            GlobalRenderingSetting  = new GlobalRenderingSettingData(previous.GlobalRenderingSetting);
            GlobalStructureNumerics = new GlobalStructureNumericsData(previous.GlobalStructureNumerics);

            _Projects.Add(this);
        }
コード例 #2
0
        /// <summary>デフォルトコンストラクタ。</summary>
        public WaveguideDesignerProjectData()
        {
            VirtualGraphics = new VirtualGraphics();

            Name                    = "New Project";
            Layers                  = new LayerList();
            Materials               = new MaterialList();
            ProjectManifest         = new ProjectManifestData();
            GlobalRenderingSetting  = new GlobalRenderingSettingData();
            GlobalStructureNumerics = new GlobalStructureNumericsData();

            _Projects.Add(this);
        }
コード例 #3
0
		/// <summary>コピーコンストラクタ。</summary>
		/// <param name="previous"></param>
		public GlobalStructureNumericsData(GlobalStructureNumericsData previous)
			{
			Parameters = new ProjectList<ParameterData>( previous.Parameters );
			Functions = new ProjectList<FunctionData>( previous.Functions );
			}
コード例 #4
0
 /// <summary>コピーコンストラクタ。</summary>
 /// <param name="previous"></param>
 public GlobalStructureNumericsData(GlobalStructureNumericsData previous)
 {
     Parameters = new ProjectList <ParameterData>(previous.Parameters);
     Functions  = new ProjectList <FunctionData>(previous.Functions);
 }
コード例 #5
0
		/// <summary>コピーコンストラクタ。</summary>
		/// <param name="previous"></param>
		public WaveguideDesignerProjectData(WaveguideDesignerProjectData previous) : base( previous )
			{
			VirtualGraphics = new VirtualGraphics();

			Layers = new LayerList( previous.Layers );
			Materials = new MaterialList( previous.Materials );
			ProjectManifest = new ProjectManifestData( previous.ProjectManifest );
			GlobalRenderingSetting = new GlobalRenderingSettingData( previous.GlobalRenderingSetting );
			GlobalStructureNumerics = new GlobalStructureNumericsData( previous.GlobalStructureNumerics );

			_Projects.Add( this );
			}
コード例 #6
0
		/// <summary>デフォルトコンストラクタ。</summary>
		public WaveguideDesignerProjectData()
			{
			VirtualGraphics = new VirtualGraphics();

			Name = "New Project";
			Layers = new LayerList();
			Materials = new MaterialList();
			ProjectManifest = new ProjectManifestData();
			GlobalRenderingSetting = new GlobalRenderingSettingData();
			GlobalStructureNumerics = new GlobalStructureNumericsData();

			_Projects.Add( this );
			}