QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RRestrictOff.h
Go to the documentation of this file.
1
20#ifndef RRESTRICTOFF_H
21#define RRESTRICTOFF_H
22
23#include "snap_global.h"
24
25#include "RSnapRestriction.h"
26
28
37public:
38 RRestrictOff(RDocumentInterface* documentInterface = NULL)
39 : RSnapRestriction(documentInterface) {}
40 virtual ~RRestrictOff() {}
41
42 virtual RVector restrictSnap(const RVector& position, const RVector& relativeZero);
43};
44
46
47#endif
Q_DECLARE_METATYPE(RMath *)
Interface for interaction between a graphics document and a user.
Definition RDocumentInterface.h:97
Default snap restriction implementation (no restriction).
Definition RRestrictOff.h:36
RRestrictOff(RDocumentInterface *documentInterface=NULL)
Definition RRestrictOff.h:38
virtual ~RRestrictOff()
Definition RRestrictOff.h:40
Abstract base class for all snap restriction implementations.
Definition RSnapRestriction.h:37
virtual RVector restrictSnap(const RVector &position, const RVector &relativeZero)=0
Represents a 3d vector (x/y/z).
Definition RVector.h:47
#define NULL
Definition opennurbs_system.h:256
#define QCADSNAP_EXPORT
Definition snap_global.h:10