|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
20 #ifndef RRESTRICTORTHOGONAL_H
21 #define RRESTRICTORTHOGONAL_H
40 mode(
RS::Orthogonal) {}
#define QCADSNAP_EXPORT
Definition: snap_global.h:10
Represents a 3d vector (x/y/z).
Definition: RVector.h:46
OrthoMode
Orthogonal mode, used for snap restrictions.
Definition: RS.h:195
virtual RVector restrictSnap(const RVector &position, const RVector &relativeZero)=0
Abstract base class for all snap restriction implementations.
Definition: RSnapRestriction.h:37
Q_DECLARE_METATYPE(RMath *)
Class namespace for various global enums.
Definition: RS.h:107
virtual ~RRestrictOrthogonal()
Definition: RRestrictOrthogonal.h:41
RS::OrthoMode mode
Definition: RRestrictOrthogonal.h:46
RRestrictOrthogonal(RDocumentInterface *documentInterface)
Definition: RRestrictOrthogonal.h:38
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:85
Orthogonal snap restriction implementation.
Definition: RRestrictOrthogonal.h:36