// curve algorithm
int findLocalPointIndex( int theSectionId, float theX, float theY );
+ void findSections( int thePointId, QList<int>& theSections );
// OCC algorithm
bool pointOnObject( Handle(AIS_InteractiveObject) theObject,
gp_Pnt& thePoint, int& thePoint1, int& thePoint2 );
bool hasProjectPointOnCurve( const int theX, const int theY,
const Handle(Geom_Curve)& theCurve,
- gp_Pnt& theOutPoint );
+ Standard_Real& theParameter );
private:
QMap<ActionId, QAction*> myActionMap;
int mySection;
int myPointNum;
bool myDragStarted;
- QList<int> myDragPoints;
QPoint myDragStartPosition;
+ int myDragInteractionStyle;
+ QList<int> myDragPoints;
+ bool myDragged;
QByteArray myGuiState;
};