Open Source 2D CAD
RSnapCoordinatePolar Class Reference

RSnap implementation for polar coordinate snap. More...

Inheritance diagram for RSnapCoordinatePolar:
RSnapCoordinate RSnap

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
QSet< REntity::IdgetEntityIds ()
RVector getLastSnap () const
RSnap::Status getStatus () const
void reset ()
 RSnap ()
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 ~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,
  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::IdentityIds
RVector lastSnap
RSnap::Status status

Detailed Description

RSnap implementation for polar coordinate snap.

Constructor & Destructor Documentation

void RSnapCoordinatePolar::RSnapCoordinatePolar ( void  guiAction)

Member Function Documentation

void RSnapCoordinatePolar::getCoordinate ( )
void RSnapCoordinatePolar::initAction ( void  guiAction)

Member Data Documentation

int RSnapCoordinatePolar::a
int RSnapCoordinatePolar::r

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