![]() |
QCAD
Open Source 2D CAD
|
RSnapRestriction implementation. More...
Public Member Functions | |
void | hideUiOptions () |
void | RRestrictAngleLengthExtension (void di) |
void | showUiOptions () |
![]() | |
virtual RVector | restrictSnap (const RVector &position, const RVector &relativeZero) |
Copyright (c) 2011-2018 by Andrew Mustun. | |
RRestrictAngleLength (RDocumentInterface *documentInterface, double baseAngle, double angle, double baseLength, double length) | |
RRestrictAngleLength (RDocumentInterface *documentInterface=NULL) | |
virtual void | setAngle (double a) |
virtual void | setBaseAngle (double a) |
virtual void | setBaseLength (double l) |
virtual void | setLength (double l) |
virtual void | setRepeatAngle (bool on) |
virtual void | setRepeatLength (bool on) |
virtual void | setRestrictAngle (bool on) |
virtual void | setRestrictLength (bool on) |
virtual | ~RRestrictAngleLength () |
![]() | |
RVector | getLastSnap () const |
void | reset () |
RSnapRestriction (RDocumentInterface *documentInterface=NULL) | |
virtual | ~RSnapRestriction () |
Public Attributes | |
int | action |
Additional Inherited Members | |
![]() | |
enum | AngleLengthMode { None , Angle , Length , AngleLength } |
![]() | |
double | angle |
double | baseAngle |
double | baseLength |
double | length |
AngleLengthMode | mode |
bool | repeatAngle |
bool | repeatLength |
![]() | |
RDocumentInterface * | documentInterface |
RVector | lastSnap |
RSnapRestriction implementation.
Extends RRestrictAngleLength with an options toolbar which allows the user to enter the angle / length.
|
inline |
|
inlinevirtual |
Reimplemented from RSnapRestriction.
|
inlinevirtual |
Reimplemented from RSnapRestriction.
int RRestrictAngleLengthExtension::action |