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
978fb3ed
Kaydet (Commit)
978fb3ed
authored
Şub 26, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
we can do away with mfSmallValue
Change-Id: Ia3ae16d71d1044ef9f338cd4322b371bdffd8e2e
üst
c5bcfe90
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
37 deletions
+1
-37
Library_basegfx.mk
basegfx/Library_basegfx.mk
+0
-1
ftools.cxx
basegfx/source/numeric/ftools.cxx
+0
-30
ftools.hxx
include/basegfx/numeric/ftools.hxx
+1
-6
No files found.
basegfx/Library_basegfx.mk
Dosyayı görüntüle @
978fb3ed
...
@@ -37,7 +37,6 @@ $(eval $(call gb_Library_add_exception_objects,basegfx,\
...
@@ -37,7 +37,6 @@ $(eval $(call gb_Library_add_exception_objects,basegfx,\
basegfx/source/matrix/b2dhommatrix \
basegfx/source/matrix/b2dhommatrix \
basegfx/source/matrix/b2dhommatrixtools \
basegfx/source/matrix/b2dhommatrixtools \
basegfx/source/matrix/b3dhommatrix \
basegfx/source/matrix/b3dhommatrix \
basegfx/source/numeric/ftools \
basegfx/source/pixel/bpixel \
basegfx/source/pixel/bpixel \
basegfx/source/point/b2dpoint \
basegfx/source/point/b2dpoint \
basegfx/source/point/b2ipoint \
basegfx/source/point/b2ipoint \
...
...
basegfx/source/numeric/ftools.cxx
deleted
100644 → 0
Dosyayı görüntüle @
c5bcfe90
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <basegfx/numeric/ftools.hxx>
#include <algorithm>
namespace
basegfx
{
// init static member of class fTools
double
::
basegfx
::
fTools
::
mfSmallValue
=
0.000000001
;
}
// end of namespace basegfx
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
include/basegfx/numeric/ftools.hxx
Dosyayı görüntüle @
978fb3ed
...
@@ -149,14 +149,9 @@ namespace basegfx
...
@@ -149,14 +149,9 @@ namespace basegfx
class
BASEGFX_DLLPUBLIC
fTools
class
BASEGFX_DLLPUBLIC
fTools
{
{
/// Threshold value for equalZero()
static
double
mfSmallValue
;
public
:
public
:
/// Get threshold value for equalZero and friends
/// Get threshold value for equalZero and friends
static
double
getSmallValue
()
{
return
mfSmallValue
;
}
static
double
getSmallValue
()
{
return
0.000000001
f
;
}
/// Set threshold value for equalZero and friends
static
void
setSmallValue
(
const
double
&
rfNew
)
{
mfSmallValue
=
rfNew
;
}
/// Compare against small value
/// Compare against small value
static
bool
equalZero
(
const
double
&
rfVal
)
static
bool
equalZero
(
const
double
&
rfVal
)
...
...
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