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
0083b35e
Kaydet (Commit)
0083b35e
authored
Tem 13, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: remove unused basegfx::B3DHomMatrix::Foo
üst
114508f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
67 deletions
+0
-67
b3dhommatrix.hxx
basegfx/inc/basegfx/matrix/b3dhommatrix.hxx
+0
-13
b3dhommatrix.cxx
basegfx/source/matrix/b3dhommatrix.cxx
+0
-54
No files found.
basegfx/inc/basegfx/matrix/b3dhommatrix.hxx
Dosyayı görüntüle @
0083b35e
...
...
@@ -52,9 +52,6 @@ namespace basegfx
B3DHomMatrix
(
const
B3DHomMatrix
&
rMat
);
~
B3DHomMatrix
();
/// unshare this matrix with all internally shared instances
void
makeUnique
();
double
get
(
sal_uInt16
nRow
,
sal_uInt16
nColumn
)
const
;
void
set
(
sal_uInt16
nRow
,
sal_uInt16
nColumn
,
double
fValue
);
...
...
@@ -66,20 +63,12 @@ namespace basegfx
/// Reset to the identity matrix
void
identity
();
bool
isInvertible
()
const
;
/// Invert the matrix (if possible)
bool
invert
();
bool
isNormalized
()
const
;
/// Normalize (i.e. force w=1) the matrix
void
normalize
();
/// Calc the matrix determinant
double
determinant
()
const
;
/// Calc the matrix trace
double
trace
()
const
;
/// Transpose the matrix
void
transpose
();
...
...
@@ -94,8 +83,6 @@ namespace basegfx
// Shearing-Matrices
void
shearXY
(
double
fSx
,
double
fSy
);
void
shearYZ
(
double
fSy
,
double
fSz
);
void
shearXZ
(
double
fSx
,
double
fSz
);
// Projection matrices, used for converting between eye and
// clip coordinates
...
...
basegfx/source/matrix/b3dhommatrix.cxx
Dosyayı görüntüle @
0083b35e
...
...
@@ -63,11 +63,6 @@ namespace basegfx
return
*
this
;
}
void
B3DHomMatrix
::
makeUnique
()
{
mpImpl
.
make_unique
();
}
double
B3DHomMatrix
::
get
(
sal_uInt16
nRow
,
sal_uInt16
nColumn
)
const
{
return
mpImpl
->
get
(
nRow
,
nColumn
);
...
...
@@ -96,11 +91,6 @@ namespace basegfx
mpImpl
=
IdentityMatrix
::
get
();
}
bool
B3DHomMatrix
::
isInvertible
()
const
{
return
mpImpl
->
isInvertible
();
}
bool
B3DHomMatrix
::
invert
()
{
Impl3DHomMatrix
aWork
(
*
mpImpl
);
...
...
@@ -119,27 +109,11 @@ namespace basegfx
return
false
;
}
bool
B3DHomMatrix
::
isNormalized
()
const
{
return
mpImpl
->
isNormalized
();
}
void
B3DHomMatrix
::
normalize
()
{
if
(
!
const_cast
<
const
B3DHomMatrix
*>
(
this
)
->
mpImpl
->
isNormalized
())
mpImpl
->
doNormalize
();
}
double
B3DHomMatrix
::
determinant
()
const
{
return
mpImpl
->
doDeterminant
();
}
double
B3DHomMatrix
::
trace
()
const
{
return
mpImpl
->
doTrace
();
}
void
B3DHomMatrix
::
transpose
()
{
mpImpl
->
doTranspose
();
...
...
@@ -290,34 +264,6 @@ namespace basegfx
}
}
void
B3DHomMatrix
::
shearYZ
(
double
fSy
,
double
fSz
)
{
// #i76239# do not test againt 1.0, but against 0.0. We are talking about a value not on the diagonal (!)
if
(
!
fTools
::
equalZero
(
fSy
)
||
!
fTools
::
equalZero
(
fSz
))
{
Impl3DHomMatrix
aShearYZMat
;
aShearYZMat
.
set
(
1
,
0
,
fSy
);
aShearYZMat
.
set
(
2
,
0
,
fSz
);
mpImpl
->
doMulMatrix
(
aShearYZMat
);
}
}
void
B3DHomMatrix
::
shearXZ
(
double
fSx
,
double
fSz
)
{
// #i76239# do not test againt 1.0, but against 0.0. We are talking about a value not on the diagonal (!)
if
(
!
fTools
::
equalZero
(
fSx
)
||
!
fTools
::
equalZero
(
fSz
))
{
Impl3DHomMatrix
aShearXZMat
;
aShearXZMat
.
set
(
0
,
1
,
fSx
);
aShearXZMat
.
set
(
2
,
1
,
fSz
);
mpImpl
->
doMulMatrix
(
aShearXZMat
);
}
}
void
B3DHomMatrix
::
frustum
(
double
fLeft
,
double
fRight
,
double
fBottom
,
double
fTop
,
double
fNear
,
double
fFar
)
{
const
double
fZero
(
0.0
);
...
...
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