Exemple #1
0
 public GridPartitioning()
 {
     _xPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     _yPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     _zPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
 }
Exemple #2
0
 protected override IEnumerable <Main.DocumentNodeAndName> GetDocumentNodeChildrenWithName()
 {
     if (null != _xPartitioning)
     {
         yield return(new Main.DocumentNodeAndName(_xPartitioning, () => _xPartitioning = null, "XPartitioning"));
     }
     if (null != _yPartitioning)
     {
         yield return(new Main.DocumentNodeAndName(_yPartitioning, () => _yPartitioning = null, "YPartitioning"));
     }
     if (null != _zPartitioning)
     {
         yield return(new Main.DocumentNodeAndName(_zPartitioning, () => _zPartitioning = null, "ZPartitioning"));
     }
 }
Exemple #3
0
 public GridPartitioning(GridPartitioning from)
 {
     _xPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     _yPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     _zPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     CopyFrom(from);
 }
Exemple #4
0
		public GridPartitioning(GridPartitioning from)
		{
			_xPartitioning = new LinearPartitioning() { ParentObject = this };
			_yPartitioning = new LinearPartitioning() { ParentObject = this };
			_zPartitioning = new LinearPartitioning() { ParentObject = this };
			CopyFrom(from);
		}
Exemple #5
0
		public GridPartitioning()
		{
			_xPartitioning = new LinearPartitioning() { ParentObject = this };
			_yPartitioning = new LinearPartitioning() { ParentObject = this };
			_zPartitioning = new LinearPartitioning() { ParentObject = this };
		}
Exemple #6
0
		protected override IEnumerable<Main.DocumentNodeAndName> GetDocumentNodeChildrenWithName()
		{
			if (null != _xPartitioning)
				yield return new Main.DocumentNodeAndName(_xPartitioning, () => _xPartitioning = null, "XPartitioning");
			if (null != _yPartitioning)
				yield return new Main.DocumentNodeAndName(_yPartitioning, () => _yPartitioning = null, "YPartitioning");
			if (null != _zPartitioning)
				yield return new Main.DocumentNodeAndName(_zPartitioning, () => _zPartitioning = null, "ZPartitioning");
		}