Open Source 2D CAD
RRestrictAngleLengthExtension Class Reference

RSnapRestriction implementation. More...

Inheritance diagram for RRestrictAngleLengthExtension:
RRestrictAngleLength RSnapRestriction

Public Member Functions

void hideUiOptions ()
void RRestrictAngleLengthExtension (void di)
void showUiOptions ()
- Public Member Functions inherited from RRestrictAngleLength
virtual RVector restrictSnap (const RVector &position, const RVector &relativeZero)
 Copyright (c) 2011-2018 by Andrew Mustun. More...
 RRestrictAngleLength (RDocumentInterface *documentInterface=NULL)
 RRestrictAngleLength (RDocumentInterface *documentInterface, double baseAngle, double angle, double baseLength, double length)
virtual void setAngle (double a)
virtual void setBaseAngle (double a)
virtual void setBaseLength (double l)
virtual void setLength (double l)
virtual void setRestrictAngle (bool on)
virtual void setRestrictLength (bool on)
virtual ~RRestrictAngleLength ()
- Public Member Functions inherited from RSnapRestriction
RVector getLastSnap () const
void reset ()
 RSnapRestriction (RDocumentInterface *documentInterface=NULL)
virtual ~RSnapRestriction ()

Public Attributes

int action

Additional Inherited Members

- Public Types inherited from RRestrictAngleLength
enum  AngleLengthMode { None, Angle, Length, AngleLength }
- Protected Attributes inherited from RRestrictAngleLength
double angle
double baseAngle
double baseLength
double length
AngleLengthMode mode
- Protected Attributes inherited from RSnapRestriction
RVector lastSnap

Detailed Description

RSnapRestriction implementation.

Extends RRestrictAngleLength with an options toolbar which allows the user to enter the angle / length.

Constructor & Destructor Documentation

void RRestrictAngleLengthExtension::RRestrictAngleLengthExtension ( void  di)

Member Function Documentation

void RRestrictAngleLengthExtension::hideUiOptions ( void  )

Reimplemented from RSnapRestriction.

void RRestrictAngleLengthExtension::showUiOptions ( void  )

Reimplemented from RSnapRestriction.

Member Data Documentation

int RRestrictAngleLengthExtension::action

The documentation for this class was generated from the following file: