QCAD
Open Source 2D CAD
RRestrictVertical.h
Go to the documentation of this file.
1 
20 #ifndef RRESTRICTVERTICAL_H
21 #define RRESTRICTVERTICAL_H
22 
23 #include "snap_global.h"
24 
25 #include "RRestrictOrthogonal.h"
26 
27 class RDocumentInterface;
28 
37 public:
39  : RRestrictOrthogonal(documentInterface) {
40  mode = Vertical;
41  }
42  virtual ~RRestrictVertical() {}
43 
44  //virtual RVector restrictSnap(const RVector& position, const RVector& relativeZero);
45 };
46 
48 
49 #endif
RRestrictVertical(RDocumentInterface *documentInterface)
Definition: RRestrictVertical.h:38
Q_DECLARE_METATYPE(RMath *)
Definition: RRestrictOrthogonal.h:39
Vertical snap restriction implementation.
Definition: RRestrictVertical.h:36
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:82
#define QCADSNAP_EXPORT
Definition: snap_global.h:10
Orthogonal snap restriction implementation.
Definition: RRestrictOrthogonal.h:36
virtual ~RRestrictVertical()
Definition: RRestrictVertical.h:42