summaryrefslogtreecommitdiff
path: root/basegfx/inc/basegfx/range/b3drange.hxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2003-11-06 15:30:30 +0000
committerArmin Weiss <aw@openoffice.org>2003-11-06 15:30:30 +0000
commitfef23aeb65bed8951a90ed71beb1552b62cfce71 (patch)
treed2ee4fe2d735d77de4f1618ea6664042269a67fa /basegfx/inc/basegfx/range/b3drange.hxx
parent8db4a5314c1b74eba07f4f4e383fafa24239e1f1 (diff)
Added tooling for PolyPolygon cutting and some more tooling at B2DPolygon and B2DPolyPolygon
Diffstat (limited to 'basegfx/inc/basegfx/range/b3drange.hxx')
-rw-r--r--basegfx/inc/basegfx/range/b3drange.hxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/range/b3drange.hxx b/basegfx/inc/basegfx/range/b3drange.hxx
index a62f61208b5d..2da5e2c3e1af 100644
--- a/basegfx/inc/basegfx/range/b3drange.hxx
+++ b/basegfx/inc/basegfx/range/b3drange.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b3drange.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: aw $ $Date: 2003-11-05 12:25:43 $
+ * last change: $Author: aw $ $Date: 2003-11-06 16:30:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -167,6 +167,15 @@ namespace basegfx
);
}
+ sal_Bool overlaps(const B3DRange& rRange) const
+ {
+ return (
+ maRangeX.overlaps(rRange.maRangeX)
+ && maRangeY.overlaps(rRange.maRangeY)
+ && maRangeZ.overlaps(rRange.maRangeZ)
+ );
+ }
+
void expand(const tuple::B3DTuple& rTuple)
{
maRangeX.expand(rTuple.getX());