Changeset View
Changeset View
Standalone View
Standalone View
umbrello/umlwidgets/associationwidget.cpp
Context not available. | |||||
2404 | return QPointF(-1, -1); // never reached, just keep compilers happy | 2404 | return QPointF(-1, -1); // never reached, just keep compilers happy | ||
---|---|---|---|---|---|
2405 | } | 2405 | } | ||
2406 | 2406 | | |||
2407 | /** | 2407 | /** | ||
2408 | * Calculates the intersection (PS) between line P1P2 and a perpendicular line containing | 2408 | * Calculates the intersection (PS) between line P1P2 and a perpendicular line containing | ||
2409 | * P3, the result is returned in ResultingPoint. and result value represents the distance | 2409 | * P3, the result is returned in ResultingPoint. and result value represents the distance | ||
2410 | * between ResultingPoint and P3; if this value is negative an error occurred. | 2410 | * between ResultingPoint and P3; if this value is negative an error occurred. | ||
2411 | */ | 2411 | */ | ||
2412 | float AssociationWidget::perpendicularProjection(const QPointF& P1, const QPointF& P2, const QPointF& P3, | 2412 | float AssociationWidget::perpendicularProjection(const QPointF& P1, const QPointF& P2, const QPointF& P3, | ||
2413 | QPointF& ResultingPoint) | 2413 | QPointF& ResultingPoint) | ||
Context not available. | |||||
2957 | case ListPopupMenu::mt_Delete_Point: | 2957 | case ListPopupMenu::mt_Delete_Point: | ||
2958 | checkRemovePoint(m_eventScenePos); | 2958 | checkRemovePoint(m_eventScenePos); | ||
2959 | break; | 2959 | break; | ||
2960 | 2960 | | |||
2961 | case ListPopupMenu::mt_Auto_Layout_Spline: | 2961 | case ListPopupMenu::mt_Auto_Layout_Spline: | ||
2962 | checkAutoLayoutSpline(); | 2962 | checkAutoLayoutSpline(); | ||
2963 | break; | 2963 | break; | ||
Context not available. |