QCAD
Open Source 2D CAD
|
RSnap implementation for polar coordinate snap. More...
Public Member Functions | |
void | getCoordinate () |
void | initAction (void guiAction) |
void | RSnapCoordinatePolar (void guiAction) |
Public Member Functions inherited from RSnapCoordinate | |
void | getCoordinate () |
void | getCoordinateEvent () |
void | hideUiOptions () |
void | initAction (void guiAction) |
void | RSnapCoordinate (void guiAction) |
void | showUiOptions () |
void | snap (void position, void view) |
void | update () |
Public Member Functions inherited from RSnap | |
virtual void | finishEvent () |
QSet< REntity::Id > | getEntityIds () |
RVector | getLastSnap () const |
RSnap::Status | getStatus () const |
void | reset () |
RSnap (RSnap::Status s=RSnap::Unknown) | |
virtual RVector | snap (const RVector &position, RGraphicsView &view, double range=RNANDOUBLE)=0 |
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. More... | |
virtual void | suspendEvent () |
virtual | ~RSnap () |
Public Attributes | |
int | a |
int | r |
Public Attributes inherited from RSnapCoordinate | |
int | coordinate |
int | relative |
Additional Inherited Members | |
Public Types inherited from RSnap | |
enum | Status { Unknown, Free, Grid, Endpoint, OnEntity, Center, Middle, Distance, Intersection, IntersectionManual, Reference, Perpendicular, Tangential, 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 |
RSnap implementation for polar coordinate snap.
|
inline |
|
inline |
|
inline |
int RSnapCoordinatePolar::a |
int RSnapCoordinatePolar::r |