QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RRestrictOrthogonal Class Reference

Orthogonal snap restriction implementation. More...

#include <RRestrictOrthogonal.h>

Inheritance diagram for RRestrictOrthogonal:
RSnapRestriction

List of all members.

Public Member Functions

virtual RVector restrictSnap (const RVector &position, const RVector &relativeZero)
virtual ~RRestrictOrthogonal ()
- Public Member Functions inherited from RSnapRestriction
RVector getLastSnap () const
virtual void hideUiOptions ()
void reset ()
 RSnapRestriction ()
virtual void showUiOptions ()
virtual ~RSnapRestriction ()

Additional Inherited Members

- Protected Attributes inherited from RSnapRestriction
RVector lastSnap

Detailed Description

Orthogonal snap restriction implementation.

Scriptable:
This class is wrapped for script environments.

Constructor & Destructor Documentation

virtual RRestrictOrthogonal::~RRestrictOrthogonal ( )
inlinevirtual

Member Function Documentation

RVector RRestrictOrthogonal::restrictSnap ( const RVector position,
const RVector relativeZero 
)
virtual
Returns:
The snapped position (closest relevant position) for the given mouse position.

Implements RSnapRestriction.


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