code: public BoundingBox extractBoundingBoxesFromSTPs(RectangularCuboidRegion rect){
  		Bounds xLB, xUB, yLB, yUB, zLB, zUB;
  		xLB = new Bounds(((AllenInterval)rect.getInternalVariables()[0]).getEST(),((AllenInterval)rect.getInternalVariables()[0]).getLST()); 
  		xUB = new Bounds(((AllenInterval)rect.getInternalVariables()[0]).getEET(),((AllenInterval)rect.getInternalVariables()[0]).getLET()); 
  		yLB = new Bounds(((AllenInterval)rect.getInternalVariables()[1]).getEST(),((AllenInterval)rect.getInternalVariables()[1]).getLST()); 
  		yUB = new Bounds(((AllenInterval)rect.getInternalVariables()[1]).getEET(),((AllenInterval)rect.getInternalVariables()[1]).getLET());
  		zLB = new Bounds(((AllenInterval)rect.getInternalVariables()[2]).getEST(),((AllenInterval)rect.getInternalVariables()[2]).getLST()); 
  		zUB = new Bounds(((AllenInterval)rect.getInternalVariables()[2]).getEET(),((AllenInterval)rect.getInternalVariables()[2]).getLET());
  		return new BoundingBox(xLB, xUB, yLB, yUB, zLB, zUB);
  	}
docs: Extracts a specific {@link BoundingBox} from the domain of a {@link RectangularRegion}.
  @param rect The {@link RectangularRegion} from to extract the {@link BoundingBox}.
  @return A specific {@link BoundingBox} from the domain of a {@link RectangularRegion}.