diff --git a/hurricane/src/analogic/GenTrans.h b/hurricane/src/analogic/GenTrans.h index fa56ae80..7c4d8fa8 100644 --- a/hurricane/src/analogic/GenTrans.h +++ b/hurricane/src/analogic/GenTrans.h @@ -117,14 +117,14 @@ # define CREATE_CONTACT_MATRIX_UNDER(underbox, nbcolumn, layer, net) \ \ - if(underbox.GetHeight()GetAbutmentType().GetCode()) { case Transistor::Type::INTERNAL : - transistor->SetAbutmentBox( Box(GET_BOX(string("20")).GetXCenter() - , transistor->GetBoundingBox().GetYMin() - , GET_BOX(string("40")).GetXCenter() - , transistor->GetBoundingBox().GetYMax() + transistor->SetAbutmentBox( Box(GET_BOX(string("20")).getXCenter() + , transistor->GetBoundingBox().getYMin() + , GET_BOX(string("40")).getXCenter() + , transistor->GetBoundingBox().getYMax() ) ); break; case Transistor::Type::LEFT: - transistor->SetAbutmentBox( Box(GET_BOX(string("11")).GetXMin() - , transistor->GetBoundingBox().GetYMin() - , GET_BOX(string("40")).GetXCenter() - , transistor->GetBoundingBox().GetYMax() + transistor->SetAbutmentBox( Box(GET_BOX(string("11")).getXMin() + , transistor->GetBoundingBox().getYMin() + , GET_BOX(string("40")).getXCenter() + , transistor->GetBoundingBox().getYMax() ) ); break ; case Transistor::Type::RIGHT: - transistor->SetAbutmentBox( Box(GET_BOX(string("20")).GetXCenter() - , transistor->GetBoundingBox().GetYMin() - , GET_BOX(string("11")).GetXMax() - , transistor->GetBoundingBox().GetYMax() + transistor->SetAbutmentBox( Box(GET_BOX(string("20")).getXCenter() + , transistor->GetBoundingBox().getYMin() + , GET_BOX(string("11")).getXMax() + , transistor->GetBoundingBox().getYMax() ) ); break ; case Transistor::Type::SINGLE: - transistor->SetAbutmentBox( Box(GET_BOX(string("11")).GetXMin() - , transistor->GetBoundingBox().GetYMin() - , GET_BOX(string("11")).GetXMax() - , transistor->GetBoundingBox().GetYMax() + transistor->SetAbutmentBox( Box(GET_BOX(string("11")).getXMin() + , transistor->GetBoundingBox().getYMin() + , GET_BOX(string("11")).getXMax() + , transistor->GetBoundingBox().getYMax() ) ); break ;