summaryrefslogtreecommitdiffstats
path: root/src/2geom/geom.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-11-09 23:15:51 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-11-09 23:15:51 +0000
commite74f90ca3ce8c75e84d48b66a8a4e594c415b541 (patch)
treee306ccc400c5ed90995bd9130f3ddf0c55a17fe5 /src/2geom/geom.cpp
parentallow for _option in radiobuttons for XML translation (diff)
downloadinkscape-e74f90ca3ce8c75e84d48b66a8a4e594c415b541.tar.gz
inkscape-e74f90ca3ce8c75e84d48b66a8a4e594c415b541.zip
Remove geom.cpp and geom.h. Now use 2geom/geom.cpp and 2geom.h.
Add conversion functions between Geom::Point and NR::Point (bzr r4050)
Diffstat (limited to 'src/2geom/geom.cpp')
-rw-r--r--src/2geom/geom.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/2geom/geom.cpp b/src/2geom/geom.cpp
index d2f2ef29b..e93247899 100644
--- a/src/2geom/geom.cpp
+++ b/src/2geom/geom.cpp
@@ -9,6 +9,7 @@
#include "geom.h"
#include "point.h"
+namespace Geom {
/**
* Finds the intersection of the two (infinite) lines
* defined by the points p such that dot(n0, p) == d0 and dot(n1, p) == d1.
@@ -206,6 +207,8 @@ int centroid(std::vector<Geom::Point> p, Geom::Point& centroid, double &area) {
return 2;
}
+}
+
/*
Local Variables:
mode:c++