QCAD
Open Source 2D CAD
|
Abstract base class for all snap restriction implementations. More...
#include <RSnapRestriction.h>
Public Member Functions | |
RVector | getLastSnap () const |
virtual void | hideUiOptions () |
void | reset () |
virtual RVector | restrictSnap (const RVector &position, const RVector &relativeZero)=0 |
RSnapRestriction (RDocumentInterface *documentInterface=NULL) | |
virtual void | showUiOptions () |
virtual | ~RSnapRestriction () |
Protected Attributes | |
RDocumentInterface * | documentInterface |
RVector | lastSnap |
Abstract base class for all snap restriction implementations.
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Reimplemented in RRestrictAngleLengthExtension.
|
inline |
|
pure virtual |
Implemented in RRestrictAngleLength, RRestrictOrthogonal, and RRestrictOff.
|
inlinevirtual |
Reimplemented in RRestrictAngleLengthExtension.
|
protected |
|
protected |