summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 19a11b8)
raw | patch | inline | side by side (parent: 19a11b8)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 13 Dec 2008 20:15:24 +0000 (20:15 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 13 Dec 2008 20:15:24 +0000 (20:15 +0000) |
re-enable decrepated 2geom functions.
src/2geom/geom.h | patch | blob | history | |
src/box3d.cpp | patch | blob | history | |
src/display/canvas-axonomgrid.cpp | patch | blob | history |
diff --git a/src/2geom/geom.h b/src/2geom/geom.h
index 9233696d74fc631d07380c55c56eb18e1a2b2242..dc50c1bb855099379cbe0234497ae9fa00599678 100644 (file)
--- a/src/2geom/geom.h
+++ b/src/2geom/geom.h
/* intersectors */
-#if 0
+#if 1
// Use the new routines provided in line.h
IntersectorKind
diff --git a/src/box3d.cpp b/src/box3d.cpp
index 057329a28f4f60937a68881560e0e46ab248ce89..a6dd378f1aa794ed8cc8a460ddefcfcf9683917e 100644 (file)
--- a/src/box3d.cpp
+++ b/src/box3d.cpp
#include "line-geometry.h"
#include "persp3d-reference.h"
#include "uri.h"
-#include "2geom/geom.h"
+#include <2geom/geom.h>
#include "sp-guide.h"
#include "sp-namedview.h"
#include "preferences.h"
index e181035ebe4f4ed8d56dfa1ca7141410494d4900..a636d8268eed30ddecea77c336e39abd818ba499 100644 (file)
// The vertical grid line is at the intersection of two angled grid lines.
// Now go find that intersection!
Geom::Point result;
- Geom::IntersectorKind is = line_intersection(norm_x, norm_x[Geom::Y]*y_proj_along_x_max,
+ Geom::IntersectorKind is = Geom::line_intersection(norm_x, norm_x[Geom::Y]*y_proj_along_x_max,
norm_z, norm_z[Geom::Y]*y_proj_along_z_max,
result);