/// <summary>デフォルトコンストラクタ。</summary> public LayerData() { Name = "New Layer"; Profile = new LayerProfileData(); VirtualLayer = new VirtualLayer(); GeometricObjects = new GeometricObjectList(this); MeepMaker = new MeepGeometricObjectMaker(this); }
/// <summary>コピーコンストラクタ。</summary> /// <param name="previous"></param> public LayerData(LayerData previous) : base(previous, "_copy") { VirtualLayer = new VirtualLayer(); GeometricObjects = new GeometricObjectList(this); foreach (GeometricObjectDataBase obj in GeometricObjects) { GeometricObjects.Add(obj.MakeDeepCopy()); } MeepMaker = new MeepGeometricObjectMaker(this); }