QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
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
28
37public:
39 : RRestrictOrthogonal(documentInterface) {
40 mode = RS::OrthoVertical;
41 }
42 virtual ~RRestrictVertical() {}
43
44 //virtual RVector restrictSnap(const RVector& position, const RVector& relativeZero);
45};
46
48
49#endif
Q_DECLARE_METATYPE(RMath *)
Interface for interaction between a graphics document and a user.
Definition RDocumentInterface.h:97
Orthogonal snap restriction implementation.
Definition RRestrictOrthogonal.h:36
Vertical snap restriction implementation.
Definition RRestrictVertical.h:36
virtual ~RRestrictVertical()
Definition RRestrictVertical.h:42
RRestrictVertical(RDocumentInterface *documentInterface)
Definition RRestrictVertical.h:38
@ OrthoVertical
Definition RS.h:304
#define QCADSNAP_EXPORT
Definition snap_global.h:10