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