Laurent Rineau
04ad0af983
Trivial bug-fix: use FT(n) instead of (FT)n.0
...
In our concepts, (FT)0.0 and (FT)1.0 (conversion from doubles) are not
always allowed, but the construction of an FT from an integer is in the
concept FieldNumberType (because it refines IntegralDomainWithoutDivision,
that refines FromIntConstructible).
The testsuite of PCA passes on my machine, and the bug "fix" is trivial.
Approved for CGAL-4.3 by the Release Manager.
2013-09-25 15:11:05 +02:00
Andreas Fabri
6c547e5663
Mainly added includes
2013-09-13 22:24:30 +02:00
Andreas Fabri
557c593aff
undo of switching to vector and multipass_distance
2013-09-11 16:20:04 +02:00
Andreas Fabri
a07b6620e4
class..method() -> class.method()
2013-08-29 07:11:28 +02:00
Andreas Fabri
8855eb54c3
Performance Improvements
...
- changed Cartesian to Simple_cartesian in the examples
- changed list to vector in the code
- removed unnecessary includes
- introduced multipass_distance
2013-08-26 14:36:09 +02:00
Laurent Rineau
c6c8fd9d62
Fix #includes of <CGAL/PCA_util.h>
2013-04-29 14:59:23 +02:00
Philipp Möller
1adf441b18
Convert all CRLF files to LF
2012-12-03 18:44:24 +01:00
Laurent Rineau
b6acb44b19
Fix mixed eol styles introduced by the licenses change scripts
2012-08-02 12:48:04 +00:00
Laurent Rineau
db194534c7
First big patch to fix -Wunused-local-typedefs
...
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
by -Wall since gcc-4.8 (not yet released).
The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Laurent Rineau
8f59fd9592
Turn QPL into LGPLv3+
2012-01-13 16:33:35 +00:00
Laurent Rineau
506f2f0127
Fix typos in "This file is part of CGAL..."
2012-01-13 16:14:28 +00:00
Sébastien Loriot
91a5327fa8
change LGPLv2 -> LGPLv3
2011-10-10 13:48:25 +00:00
Andreas Fabri
9ab4d521d1
Use CGAL::abs instead of fabs
2011-02-16 14:22:59 +00:00
Marc Glisse
237177a92e
Remove work-around that is now hopefully useless
2011-01-18 11:40:03 +00:00
Marc Glisse
b44bb0322c
Prevent instantiation of centroid on non-iterator types
2011-01-18 11:37:03 +00:00
Marc Glisse
84594e6b71
This should be fixed properly, but in the mean time, add clang to the workaround.
2010-10-27 10:07:09 +00:00
Laurent Rineau
9277a77b72
Fix all svn:keywords in */include/
2010-10-04 11:00:27 +00:00
Andreas Fabri
b495e013b5
0.0 -> FT(0) in order to quiet VC++
2010-09-27 07:47:24 +00:00
Stéphane Tayeb
13c142a657
Fix VC++ workaround (tested with MSVS2005)
2010-06-11 07:41:10 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Stéphane Tayeb
bd968201c3
Try another workaround for VC++ and Intel compiler (CGAL::centroid). Add a call of overloaded CGAL::centroid function in test-suite.
2010-06-08 15:28:21 +00:00
Laurent Rineau
d0b71dd3de
Merged revisions 56567,56628 via svnmerge from
...
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch
........
r56567 | stayeb | 2010-06-04 10:42:30 +0200 (Fri, 04 Jun 2010) | 1 line
Add a call to other overloads of centroid function.
........
r56628 | spion | 2010-06-07 17:39:28 +0200 (Mon, 07 Jun 2010) | 2 lines
Try again another version of the workaround for VC++.
........
2010-06-07 16:10:57 +00:00
Laurent Rineau
a06cc18fe9
Merged revisions 56562 via svnmerge from
...
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch
........
r56562 | stayeb | 2010-06-03 17:30:14 +0200 (Thu, 03 Jun 2010) | 1 line
Bug fix: ungeneralize a template function (avoids wrong template function instanciation).
........
2010-06-03 15:41:24 +00:00
Laurent Rineau
83912b2952
Massive fix of svn:keywords properties, and $URL$ keyword.
2009-10-20 08:59:26 +00:00
Pierre Alliez
62a1be0732
rename CGALi to internal
2009-09-17 09:19:21 +00:00
Pierre Alliez
7df5cac015
PCA: undo recent change - there was no bug
2009-09-11 07:13:29 +00:00
Pierre Alliez
82aaae94c1
fix pca bug
2009-09-10 14:29:47 +00:00
Sylvain Pion
8573fe26ce
Rename CGALi to internal.
2009-08-24 17:10:04 +00:00
Pierre Alliez
9b7d5c7e06
PCA: one bug fix pointed out by ENPC.
...
one little fix in doc
2009-07-02 11:13:32 +00:00
Pierre Alliez
f9a2279974
PCA: fix degenerate cases and doc.
2009-02-27 12:57:44 +00:00
Pierre Alliez
587fcabfa5
PCA: removed unnecessary assertion
2008-12-08 16:09:09 +00:00
Pierre Alliez
6fa7586137
Reconstruction: added a menu smoothing (still empty)
2008-04-22 15:11:23 +00:00
Pierre Alliez
282f4e8730
PCA: fix capitalization
2008-04-18 10:09:45 +00:00
Sylvain Pion
2f4e459d75
Some updates to the things that moved to the CGAL::Access namespace.
2008-04-17 21:04:05 +00:00
Sylvain Pion
39dc525fa0
updates to uses of Iso_box
2008-04-17 20:53:36 +00:00
Sylvain Pion
55d538b335
"Ambient" is not spelled "Ambiant" in English...
2008-04-17 10:13:31 +00:00
Sylvain Pion
ddb28c5e79
Missing includes.
2008-04-15 17:44:53 +00:00
Sylvain Pion
07e470978e
We have 4 overloads of centroid() now working:
...
centroid(begin, end)
centroid(begin, end, dim_tag)
centroid(begin, end, kernel)
centroid(begin, end, kernel, dim_tag)
2008-04-15 15:58:11 +00:00
Sylvain Pion
4477a9d986
Updates after the new d-dim stuff changes.
2008-04-15 13:53:58 +00:00
Sylvain Pion
2389cdcc1e
Dimension detecting stuff rewrite.
...
There is now Ambiant_dimension and Feature_dimension.
The handling of the dynamic dimension case is now done by having
the di,ension tag as the first thing provided, with the integral
constant value available only when it makes sense (INT_MAX no longer needed).
2008-04-13 12:38:48 +00:00
Sylvain Pion
02e543a294
Add Dimension<T, K> whose nested "value" is the dimension of the ambiant
...
space. A special constant CGAL::Dynamic_dimension (equal to INT_MAX)
indicates the case where the dimension is only known at run time.
2008-04-11 21:03:22 +00:00
Sylvain Pion
73738c8a19
Replace PCA_dimension_0_tag and similar by the kernel's Dimension_tag<dim>.
2008-04-11 19:41:37 +00:00
Sylvain Pion
680971bbef
Typo centriod -> centroid.
2008-04-11 13:37:47 +00:00
Pierre Alliez
73365ae5d3
PCA: fixed pow -> std::pow
2008-03-28 08:52:23 +00:00
Pierre Alliez
f3c10f6817
PCA: fix spelling issues
2008-02-12 10:30:52 +00:00
Pierre Alliez
7daaaebc06
PCA: two kernel test for 2D point sets
2008-02-11 11:44:08 +00:00
Pierre Alliez
c56158d568
PCA: removed some warnings (used level 4 on MS .NET)
...
I think some will remain due to other parts of CGAL
Next step will be to parameterize the test suite with several Kernels
2008-02-11 11:36:43 +00:00
Pierre Alliez
0e7254aa26
PCA: another attempt at removing a bug in cuboids
2008-02-07 08:20:24 +00:00
Pierre Alliez
f8ed9cdfa6
PCA: tried fixing a bug for cuboids_3
...
started fixing some issues with various kernels (well, at least float and double Cartesian to start with)
2008-02-06 20:35:10 +00:00
Pierre Alliez
fcf1551ba9
PCA: removed some warnings for the test suite.
2008-02-04 06:26:58 +00:00