QCAD
Open Source 2D CAD
RSnapPerpendicular.h
Go to the documentation of this file.
1 
20 #ifndef RSNAPPERPENDICULAR_H
21 #define RSNAPPERPENDICULAR_H
22 
23 #include "snap_global.h"
24 
25 #include "RSnapEntityBase.h"
26 
27 class RMouseEvent;
28 
37 public:
38  virtual ~RSnapPerpendicular() {}
39 
40 protected:
41  virtual QList<RVector> snapEntity(
42  QSharedPointer<REntity> entity,
43  const RVector& point,
44  const RBox& queryBox,
45  RGraphicsView& view);
46 };
47 
49 
50 #endif
Represents a box e.g.
Definition: RBox.h:43
Represents a 3d vector (x/y/z).
Definition: RVector.h:46
Base class for entity based snap classes.
Definition: RSnapEntityBase.h:37
virtual QList< RVector > snapEntity(QSharedPointer< REntity > entity, const RVector &point, const RBox &queryBox, RGraphicsView &view)=0
virtual ~RSnapPerpendicular()
Definition: RSnapPerpendicular.h:38
Q_DECLARE_METATYPE(RMath *)
A mouse event for a graphics scene.
Definition: RMouseEvent.h:42
#define QCADSNAP_EXPORT
Definition: snap_global.h:10
Graphics view.
Definition: RGraphicsView.h:58
On entity snapper implementation.
Definition: RSnapPerpendicular.h:36