Code

Filter effects dialog:
[inkscape.git] / src / perspective-line.h
index a1c61c52272ef283d30954b8b9504b483ec0783c..a02737692d07cc63bfbce6da024f2288af55e436 100644 (file)
@@ -13,6 +13,7 @@
 #define SEEN_PERSPECTIVE_LINE_H
 
 #include "vanishing-point.h"
+#include "line-geometry.h"
 #include "box3d-context.h" 
 #include <glib.h>
 
@@ -26,13 +27,13 @@ public:
      * PL runs through it; otherwise it has the direction specified by the v_dir vector
      * of the VP.
      */
-    PerspectiveLine (NR::Point const &pt, PerspDir const axis,
+    PerspectiveLine (NR::Point const &pt, Box3D::Axis const axis,
                      Perspective3D *perspective = SP3DBoxContext::current_perspective);
     NR::Maybe<NR::Point> intersect (Line const &line); // FIXME: Can we make this return only a NR::Point to remove the extra method meet()?
     NR::Point meet (Line const &line);
        
 private:
-    PerspDir vp_dir; // direction of the associated VP
+    Box3D::Axis vp_dir; // direction of the associated VP
     Perspective3D *persp;
 };