Code

fix by Preben S for LP bug 389780, flatness
[inkscape.git] / src / livarot / sweep-event.h
index 7231dd01de469975972ef60e2b3a5bb8cd455101..bb22eddcfe7e1ce44ea2d04ce14477e6c2a13756 100644 (file)
@@ -14,16 +14,16 @@ class SweepEvent
 public:
     SweepTree *sweep[2];   ///< Sweep element associated with the left and right edge of the intersection.
 
-    NR::Point posx;         ///< Coordinates of the intersection.
+    Geom::Point posx;         ///< Coordinates of the intersection.
     double tl, tr;          ///< Coordinates of the intersection on the left edge (tl) and on the right edge (tr).
 
     int ind;                ///< Index in the binary heap.
 
     SweepEvent();   // not used.
-    ~SweepEvent();  // not used.
+    virtual ~SweepEvent();  // not used.
 
     /// Initialize a SweepEvent structure.
-    void MakeNew (SweepTree * iLeft, SweepTree * iRight, NR::Point const &iPt,
+    void MakeNew (SweepTree * iLeft, SweepTree * iRight, Geom::Point const &iPt,
                   double itl, double itr);
 
     /// Void a SweepEvent structure.