Exemple #1
0
 public GridPartitioning(GridPartitioning from)
 {
     _xPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     _yPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     _zPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     CopyFrom(from);
 }
Exemple #2
0
		public RectangleD3D GetAbsolute(GridPartitioning partition, VectorD3D parentSize)
		{
			return partition.GetTileRectangle(_gridPosX, _gridPosY, _gridPosZ, _gridSpanX, _gridSpanY, _gridSpanZ, parentSize);
		}
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 RectangleD3D GetAbsolute(GridPartitioning partition, VectorD3D parentSize)
 {
     return(partition.GetTileRectangle(_gridPosX, _gridPosY, _gridPosZ, _gridSpanX, _gridSpanY, _gridSpanZ, parentSize));
 }