setFinalPoint(xCenter,yIport,zCenter);
+ // Sets the last point of the contour model in the position of the end input port
manualPoint* point = _model->GetManualPoint(_model->GetSizeLstPoints()-1);
point->SetPoint(xCenter,yIport,zCenter);
}
double xport,yport,zport;
_startPort->getFinalPoint(xport,yport,zport);
+ // Refresh the position of the contourModel first point with the data of the connector model
manualPoint* point = _model->GetManualPoint(0);
point->SetPoint(xCenter,yport,zCenter);
_endPort->getCenter(xCenter,yCenter,zCenter);
_endPort->getInicPoint(xport,yport,zport);
+ // Refresh the position of the contourModel last point with the data of the connector model
point = _model->GetManualPoint(_model->GetSizeLstPoints()-1);
point->SetPoint(xCenter,yport,zCenter);
}
//=========================================================================
- bool GConnectorModel::isPointInside(double x,double y, double z)//virtual
- {
- return false;
- }
-
- //=========================================================================
-
void GConnectorModel::save(std::string &content)
{
content+="CONNECTION\n";