QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RSnapIntersection.h
Go to the documentation of this file.
1 #ifndef RSNAPINTERSECTION_H
2 #define RSNAPINTERSECTION_H
3 
4 #include "RSnap.h"
5 #include "REntity.h"
6 
7 class RGraphicsView;
8 class RMouseEvent;
9 
17 class RSnapIntersection : public RSnap {
18 public:
20  virtual ~RSnapIntersection() {}
21 
22  virtual RVector snap(
23  const RVector& position,
24  RGraphicsView& view,
25  double range = RNANDOUBLE);
26 
27  virtual RVector snap(
28  const RVector& position,
29  RGraphicsView& view,
30  const QMap<REntity::Id, QSet<int> >& candidates,
31  const RBox& queryBox);
32 };
33 
35 
36 #endif