diff options
Diffstat (limited to 'basegfx/inc/basegfx/range/b3drange.hxx')
-rw-r--r-- | basegfx/inc/basegfx/range/b3drange.hxx | 13 |
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()); |