diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-02 14:21:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-03 14:16:32 +0200 |
commit | 3b32c5898ff4e744d3f18b00421b433500426d74 (patch) | |
tree | 3b9c9ab876551b1ebf3ee27de53d0e85c0a0dbea /include/basegfx/range/b2irange.hxx | |
parent | 025952f52767fb3508a6725468fe4b1e6ce4c9b1 (diff) |
loplugin:unusedmethods sax,shell,stoc,basegfx
Change-Id: Ia5d63f7153e4b02acc5e206739316264d6d1184e
Diffstat (limited to 'include/basegfx/range/b2irange.hxx')
-rw-r--r-- | include/basegfx/range/b2irange.hxx | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/include/basegfx/range/b2irange.hxx b/include/basegfx/range/b2irange.hxx index 65756dfb7600..7a07229906af 100644 --- a/include/basegfx/range/b2irange.hxx +++ b/include/basegfx/range/b2irange.hxx @@ -178,15 +178,6 @@ namespace basegfx ); } - /// return center point of set. returns (0,0) for empty sets. - B2DPoint getCenter() const - { - return B2DPoint( - maRangeX.getCenter(), - maRangeY.getCenter() - ); - } - /// yields true if given point is contained in set bool isInside(const B2ITuple& rTuple) const { @@ -196,33 +187,6 @@ namespace basegfx ); } - /// yields true if rRange is inside, or equal to set - bool isInside(const B2IRange& rRange) const - { - return ( - maRangeX.isInside(rRange.maRangeX) - && maRangeY.isInside(rRange.maRangeY) - ); - } - - /// yields true if rRange at least partly inside set - bool overlaps(const B2IRange& rRange) const - { - return ( - maRangeX.overlaps(rRange.maRangeX) - && maRangeY.overlaps(rRange.maRangeY) - ); - } - - /// yields true if overlaps(rRange) does, and the overlap is larger than infinitesimal - bool overlapsMore(const B2IRange& rRange) const - { - return ( - maRangeX.overlapsMore(rRange.maRangeX) - && maRangeY.overlapsMore(rRange.maRangeY) - ); - } - /// add point to the set, expanding as necessary void expand(const B2ITuple& rTuple) { @@ -230,13 +194,6 @@ namespace basegfx maRangeY.expand(rTuple.getY()); } - /// add rRange to the set, expanding as necessary - void expand(const B2IRange& rRange) - { - maRangeX.expand(rRange.maRangeX); - maRangeY.expand(rRange.maRangeY); - } - /// calc set intersection void intersect(const B2IRange& rRange) { @@ -244,13 +201,6 @@ namespace basegfx maRangeY.intersect(rRange.maRangeY); } - /// grow set by nValue on all sides - void grow(sal_Int32 nValue) - { - maRangeX.grow(nValue); - maRangeY.grow(nValue); - } - private: typedef ::basegfx::BasicRange< ValueType, TraitsType > MyBasicRange; |