Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
5c3615c1
Kaydet (Commit)
5c3615c1
authored
May 11, 2012
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unusedcode: basegfx::tools::equal
Change-Id: I I579fd3de05f78f06af06c53afab1cc70fc700082
üst
f2827fb1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
80 deletions
+0
-80
b2dpolygontools.hxx
basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
+0
-4
b3dpolygontools.hxx
basegfx/inc/basegfx/polygon/b3dpolygontools.hxx
+0
-4
b2dpolygontools.cxx
basegfx/source/polygon/b2dpolygontools.cxx
+0
-44
b3dpolygontools.cxx
basegfx/source/polygon/b3dpolygontools.cxx
+0
-26
unusedcode.easy
unusedcode.easy
+0
-2
No files found.
basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
Dosyayı görüntüle @
5c3615c1
...
...
@@ -426,10 +426,6 @@ namespace basegfx
*/
BASEGFX_DLLPUBLIC
B2DPolygon
createWaveline
(
const
B2DPolygon
&
rCandidate
,
double
fWaveWidth
,
double
fWaveHeight
);
//////////////////////////////////////////////////////////////////////
// comparators with tolerance for 2D Polygons
BASEGFX_DLLPUBLIC
bool
equal
(
const
B2DPolygon
&
rCandidateA
,
const
B2DPolygon
&
rCandidateB
,
const
double
&
rfSmallValue
);
/** snap some polygon coordinates to discrete coordinates
This method allows to snap some polygon points to discrete (integer) values
...
...
basegfx/inc/basegfx/polygon/b3dpolygontools.hxx
Dosyayı görüntüle @
5c3615c1
...
...
@@ -122,10 +122,6 @@ namespace basegfx
// and a line given by start and end point
BASEGFX_DLLPUBLIC
bool
getCutBetweenLineAndPlane
(
const
B3DVector
&
rPlaneNormal
,
const
B3DPoint
&
rPlanePoint
,
const
B3DPoint
&
rEdgeStart
,
const
B3DPoint
&
rEdgeEnd
,
double
&
fCut
);
//////////////////////////////////////////////////////////////////////
// comparators with tolerance for 3D Polygons
BASEGFX_DLLPUBLIC
bool
equal
(
const
B3DPolygon
&
rCandidateA
,
const
B3DPolygon
&
rCandidateB
,
const
double
&
rfSmallValue
);
/** snap some polygon coordinates to discrete coordinates
This method allows to snap some polygon points to discrete (integer) values
...
...
basegfx/source/polygon/b2dpolygontools.cxx
Dosyayı görüntüle @
5c3615c1
...
...
@@ -3121,50 +3121,6 @@ namespace basegfx
return
aRetval
;
}
//////////////////////////////////////////////////////////////////////
// comparators with tolerance for 2D Polygons
bool
equal
(
const
B2DPolygon
&
rCandidateA
,
const
B2DPolygon
&
rCandidateB
,
const
double
&
rfSmallValue
)
{
const
sal_uInt32
nPointCount
(
rCandidateA
.
count
());
if
(
nPointCount
!=
rCandidateB
.
count
())
return
false
;
const
bool
bClosed
(
rCandidateA
.
isClosed
());
if
(
bClosed
!=
rCandidateB
.
isClosed
())
return
false
;
const
bool
bAreControlPointsUsed
(
rCandidateA
.
areControlPointsUsed
());
if
(
bAreControlPointsUsed
!=
rCandidateB
.
areControlPointsUsed
())
return
false
;
for
(
sal_uInt32
a
(
0
);
a
<
nPointCount
;
a
++
)
{
const
B2DPoint
aPoint
(
rCandidateA
.
getB2DPoint
(
a
));
if
(
!
aPoint
.
equal
(
rCandidateB
.
getB2DPoint
(
a
),
rfSmallValue
))
return
false
;
if
(
bAreControlPointsUsed
)
{
const
basegfx
::
B2DPoint
aPrev
(
rCandidateA
.
getPrevControlPoint
(
a
));
if
(
!
aPrev
.
equal
(
rCandidateB
.
getPrevControlPoint
(
a
),
rfSmallValue
))
return
false
;
const
basegfx
::
B2DPoint
aNext
(
rCandidateA
.
getNextControlPoint
(
a
));
if
(
!
aNext
.
equal
(
rCandidateB
.
getNextControlPoint
(
a
),
rfSmallValue
))
return
false
;
}
}
return
true
;
}
// snap points of horizontal or vertical edges to discrete values
B2DPolygon
snapPointsOfHorizontalOrVerticalEdges
(
const
B2DPolygon
&
rCandidate
)
{
...
...
basegfx/source/polygon/b3dpolygontools.cxx
Dosyayı görüntüle @
5c3615c1
...
...
@@ -740,32 +740,6 @@ namespace basegfx
return
false
;
}
//////////////////////////////////////////////////////////////////////
// comparators with tolerance for 3D Polygons
bool
equal
(
const
B3DPolygon
&
rCandidateA
,
const
B3DPolygon
&
rCandidateB
,
const
double
&
rfSmallValue
)
{
const
sal_uInt32
nPointCount
(
rCandidateA
.
count
());
if
(
nPointCount
!=
rCandidateB
.
count
())
return
false
;
const
bool
bClosed
(
rCandidateA
.
isClosed
());
if
(
bClosed
!=
rCandidateB
.
isClosed
())
return
false
;
for
(
sal_uInt32
a
(
0
);
a
<
nPointCount
;
a
++
)
{
const
B3DPoint
aPoint
(
rCandidateA
.
getB3DPoint
(
a
));
if
(
!
aPoint
.
equal
(
rCandidateB
.
getB3DPoint
(
a
),
rfSmallValue
))
return
false
;
}
return
true
;
}
// snap points of horizontal or vertical edges to discrete values
B3DPolygon
snapPointsOfHorizontalOrVerticalEdges
(
const
B3DPolygon
&
rCandidate
)
{
...
...
unusedcode.easy
Dosyayı görüntüle @
5c3615c1
...
...
@@ -301,8 +301,6 @@ _SwRedlineTbl::Insert(SwRedline* const*, unsigned short)
_SwRedlineTbl::Insert(_SwRedlineTbl const*, unsigned short, unsigned short)
_SwRedlineTbl::Remove(SwRedline* const&, unsigned short)
basebmp::debugDump(boost::shared_ptr<basebmp::BitmapDevice> const&, std::basic_ostream<char, std::char_traits<char> >&)
basegfx::tools::equal(basegfx::B2DPolygon const&, basegfx::B2DPolygon const&, double const&)
basegfx::tools::equal(basegfx::B3DPolygon const&, basegfx::B3DPolygon const&, double const&)
binfilter::B3dEdgeEntryBucketMemArr::Insert(binfilter::B3dEdgeEntryBucketMemArr const*, unsigned short, unsigned short, unsigned short)
binfilter::B3dEdgeEntryBucketMemArr::Replace(char const*&, unsigned short)
binfilter::B3dEdgeEntryBucketMemArr::Replace(char const**, unsigned short, unsigned short)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment