summaryrefslogtreecommitdiffstats
path: root/geometry.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-06-26 21:30:01 +0200
committerneoraider <devnull@localhost>2007-06-26 21:30:01 +0200
commitf10436d8168840417c000e08038350dd5de4fc15 (patch)
tree1149581315fae39c27c741b81c6e130ff5cd666c /geometry.h
parentb8549034bef0de090547f32af07df248e68c7064 (diff)
downloadzoomedit-f10436d8168840417c000e08038350dd5de4fc15.tar
zoomedit-f10436d8168840417c000e08038350dd5de4fc15.zip
zoomedit: Added room selection and hover effect.
Diffstat (limited to 'geometry.h')
-rw-r--r--geometry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/geometry.h b/geometry.h
index 470e8e9..2978ef4 100644
--- a/geometry.h
+++ b/geometry.h
@@ -49,6 +49,7 @@ gboolean vertexInPolygon(const VERTEX *v, const POLYGON *p);
int lineIntersection(const LINE *la, const LINE *lb, VERTEX *v);
int lineRectIntersection(const LINE *l, const RECTANGLE *rect, int edge, VERTEX *v);
int lineRectIntersections(const LINE *line, const RECTANGLE *rect, int edge, VERTEX *v1, VERTEX *v2);
+gboolean linePolygonIntersection(const LINE *l, const POLYGON *p);
void simplifyPolygon(const POLYGON *in, const RECTANGLE *rect, POLYGON *out);
#endif /*GEOMETRY_H_*/