summaryrefslogtreecommitdiffstats
path: root/src/2geom/geom.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2015-04-27 23:39:29 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2015-04-27 23:39:29 +0000
commitc883d7627a479c8c5b6a9f77b9841fa5631572ad (patch)
treefba1186e26a8cc85a1b0728425bef6f2e9aeccd9 /src/2geom/geom.h
parentextensions. ink2canvas.py - do not parse html comments. (Bug 1446204) (diff)
downloadinkscape-c883d7627a479c8c5b6a9f77b9841fa5631572ad.tar.gz
inkscape-c883d7627a479c8c5b6a9f77b9841fa5631572ad.zip
2Geom sync - initial commit
(bzr r14059.2.1)
Diffstat (limited to 'src/2geom/geom.h')
-rw-r--r--src/2geom/geom.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/2geom/geom.h b/src/2geom/geom.h
index 5aeded23d..6ba812254 100644
--- a/src/2geom/geom.h
+++ b/src/2geom/geom.h
@@ -44,52 +44,10 @@
namespace Geom {
-enum IntersectorKind {
- intersects = 0,
- parallel,
- coincident,
- no_intersection
-};
-
-int
-intersector_ccw(const Geom::Point& p0, const Geom::Point& p1,
- const Geom::Point& p2);
-
-/* intersectors */
-
-#if 0
-// Use the new routines provided in line.h
-
-IntersectorKind
-line_intersection(Geom::Point const &n0, double const d0,
- Geom::Point const &n1, double const d1,
- Geom::Point &result);
-
-IntersectorKind
-segment_intersect(Geom::Point const &p00, Geom::Point const &p01,
- Geom::Point const &p10, Geom::Point const &p11,
- Geom::Point &result);
-
-IntersectorKind
-line_twopoint_intersect(Geom::Point const &p00, Geom::Point const &p01,
- Geom::Point const &p10, Geom::Point const &p11,
- Geom::Point &result);
-#endif
-
-#if 0
-std::vector<Geom::Point>
-rect_line_intersect(Geom::Point const &E, Geom::Point const &F,
- Geom::Point const &p0, Geom::Point const &p1);
-#endif
-
boost::optional<Geom::LineSegment>
rect_line_intersect(Geom::Rect &r,
Geom::LineSegment ls);
-boost::optional<Geom::LineSegment>
-rect_line_intersect(Geom::Rect &r,
- Geom::Line l);
-
int centroid(std::vector<Geom::Point> const &p, Geom::Point& centroid, double &area);
}