|
QCAD Application Framework
CAD Application Development and Automation.
|
Auto snapper implementation. More...
#include <RSnapAuto.h>
Public Member Functions | |
| virtual RVector | snap (const RVector &position, RGraphicsView &view, double range=RNANDOUBLE) |
| virtual | ~RSnapAuto () |
Public Member Functions inherited from RSnap | |
| QSet< REntity::Id > | getEntityIds () |
| RVector | getLastSnap () const |
| RSnap::Status | getStatus () const |
| virtual void | hideUiOptions () |
| void | reset () |
| RSnap () | |
| virtual void | showUiOptions () |
| virtual RVector | snap (RMouseEvent &event) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| virtual | ~RSnap () |
Additional Inherited Members | |
Public Types inherited from RSnap | |
| enum | Status { Unknown, Free, Grid, Endpoint, OnEntity, Center, Middle, Distance, Intersection, IntersectionManual, Reference, Perpendicular, Coordinate, CoordinatePolar } |
| Snap status, returned by snap tools (most importantly auto snap tool) to indicate what snap was used. More... | |
Protected Attributes inherited from RSnap | |
| QSet< REntity::Id > | entityIds |
| RVector | lastSnap |
| RSnap::Status | status |
Auto snapper implementation.
|
inlinevirtual |
|
virtual |
Implements RSnap.