Exemplo n.º 1
0
 public GridPartitioning(GridPartitioning from)
 {
     _xPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     _yPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     _zPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     CopyFrom(from);
 }
Exemplo n.º 2
0
		public RectangleD3D GetAbsolute(GridPartitioning partition, VectorD3D parentSize)
		{
			return partition.GetTileRectangle(_gridPosX, _gridPosY, _gridPosZ, _gridSpanX, _gridSpanY, _gridSpanZ, parentSize);
		}
Exemplo n.º 3
0
		public GridPartitioning(GridPartitioning from)
		{
			_xPartitioning = new LinearPartitioning() { ParentObject = this };
			_yPartitioning = new LinearPartitioning() { ParentObject = this };
			_zPartitioning = new LinearPartitioning() { ParentObject = this };
			CopyFrom(from);
		}
Exemplo n.º 4
0
 public RectangleD3D GetAbsolute(GridPartitioning partition, VectorD3D parentSize)
 {
     return(partition.GetTileRectangle(_gridPosX, _gridPosY, _gridPosZ, _gridSpanX, _gridSpanY, _gridSpanZ, parentSize));
 }