Commit Graph

233 Commits

Author SHA1 Message Date
Sylvain Pion 4f1170dcc4 Keep Bbox_3 and Bbox_2 in sync, and add missing documentation
for : dimension(), min(), max(), operator==, operator!=.
2007-08-22 12:12:48 +00:00
Sylvain Pion 3149384263 Add missing doc and test for Vector_2 and Vector_3 squared_length(). 2007-08-21 09:14:41 +00:00
Bernd Gärtner 85301a4de3 - fixed missing crosslink to FieldNumberType 2007-08-09 08:50:54 +00:00
Sylvain Pion a90de08bf3 Remove obsolete config flag CGAL_CFG_MATCHING_BUG_4 and its dependency CGAL_WRAP. 2007-08-08 15:15:20 +00:00
Andreas Fabri 0e74669be9 3.3 branch -> trunk 2007-06-04 14:21:25 +00:00
Andreas Fabri 3fc7e21b15 3.3 branch -> trunk 2007-06-04 14:10:45 +00:00
Sylvain Pion 7f5fc0cd7b Fix argument list of Filtered_kernel for proper auto-linking. 2007-06-02 11:40:29 +00:00
Laurent Rineau eb818d00c6 Typo: Bbox -> Bbox_3 2007-05-30 10:34:25 +00:00
Andreas Meyer 7ed1a00c04 merge manual fixed from 3.3 branch back intro trunk:
svn merge -r 38751:38754 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38773:38775 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38783:38784 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38795:38796 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38815:38816 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38827:38829 ~/projects/CGAL/branches/CGAL-3.3-branch
svn merge -r 38834:38836 ~/projects/CGAL/branches/CGAL-3.3-branch
2007-05-28 23:05:00 +00:00
Sylvain Pion d30ef98904 Add forgotten Kernel_ComputeHx_2 and Kernel_ComputeHy_2 2007-04-18 17:21:34 +00:00
Sylvain Pion 567db4f2c4 Fix ccRefFunctionObjectConcept -> ccRefConcept 2007-04-18 17:13:46 +00:00
Laurent Rineau 1157fdd2a1 Yet another typo:
ConstructTranslatedPoint_3 translates points of dimension *3*.
2007-04-18 15:00:02 +00:00
Laurent Rineau 7fb7140cb8 add ConstructDividedVector_3, ConstructSumOfVectors_3 and
ConstructDifferenceOfVectors_3 in kernel concept
and make a link to Kernel_ConstructDividedVector_2.tex as well.
2007-04-18 14:43:46 +00:00
Andreas Meyer c1e9765ff4 manual fix: moved labels inside sectioning command 2007-04-18 14:20:12 +00:00
Sylvain Pion 79eb2c8ffa Remove unused parameters. 2007-04-17 22:09:34 +00:00
Andreas Fabri 7276c6ff15 Kernel -> Geometry Kernel (suggested by sylvain) 2007-04-17 11:21:24 +00:00
Sylvain Pion bda89ba1d6 Use CGAL_CFG_DEDUCABLE_CONTEXT_BUG to partially (but most probably sufficiently)
work around SunCC bug.
2007-03-30 17:18:22 +00:00
Andreas Meyer 41169fc270 * updated howtocite bibkeys for upcoming 3.3 release
* typo fixes/cosmetic changes
2007-03-29 17:40:13 +00:00
Sylvain Pion deb7e08591 Run aspell. 2007-03-29 15:10:50 +00:00
Laurent Rineau 90469f0abc ComputeDeterminant_3 with Vector_*3* as arguments type. 2007-03-22 10:14:51 +00:00
Sylvain Pion 1795cde28e AdaptableFunctor -> \ccc{AdaptableFunctor} 2007-03-21 17:14:48 +00:00
Andreas Fabri 5078e34e79 Added illustration 2007-03-19 15:45:47 +00:00
Andreas Fabri e38380c619 workaround for Intel 9 2007-03-17 18:29:25 +00:00
Andreas Fabri b0a58d5601 removed unused parameters 2007-03-17 09:51:49 +00:00
Michael Hemmer 47107d399e include of proper CORE::Expr support file : CGAL/CORE_Expr.h 2007-03-15 10:47:09 +00:00
Joachim Reichel 4f47903a25 moved src/Core to src/CGALCore
moved include/CORE to include/CGAL/CORE
moved include/OpenNL to include/CGAL/OpenNL
renamed libcore++ to libCGALcore++
2007-03-13 18:10:39 +00:00
Andreas Fabri bf08f44f3c undo of change for Intel 9 2007-03-13 08:50:41 +00:00
Andreas Fabri 6def599d5b help Intel 9 2007-03-12 18:18:37 +00:00
Michael Hemmer 854ea80b4b rm use of CGALi::Is_field etc
replaced by use of Algebraic_category tag
2007-03-12 17:34:47 +00:00
Sylvain Pion 05840a8f17 Cleanup of white spaces and empty lines also under examples/*/*.h. 2007-03-10 16:45:36 +00:00
Sylvain Pion 847c23a15e Removing leading and trailing empty lines from all example files.
Using the following Perl script:
-----------------------------------------------------
#!/usr/bin/perl

local($/) = undef;
my $text = <>;

$text =~ s/\A\n+//mg;
$text =~ s/\n+\Z/\n/mg;

print "$text";
-----------------------------------------------------
2007-03-10 16:17:17 +00:00
Sylvain Pion 6fb5cb906b Remove trailing white spaces and end of lines.
(using : perl -pi.bak -e 's/\s+$/\n/' */examples/*/*.cpp )
2007-03-10 14:59:41 +00:00
Sylvain Pion b8b87ab5a5 Actually, the "// file: example_bla.cpp" lines are not needed anymore,
since the manual tools know it.  So let's just remove them (many were
not uptodate with the filemane anyway).
2007-03-10 14:48:00 +00:00
Sylvain Pion 23edc11d3b Fix all first lines of examples "// file : example_file.C" to .cpp suffix.
Using :

for i in * ; do  cd $i ; for f in examples/*/*.cpp ; do ( head -1 $f | grep file | grep -v '\.cpp' ) && echo $f && perl -pi.bak -e 's/\.C$/.cpp/' $f ; done ; cd .. ; done
2007-03-10 14:34:05 +00:00
Sylvain Pion 21ae09f184 remove g++ 4.3 warning 2007-03-06 15:11:09 +00:00
Sylvain Pion 06ac5d10d2 One red-line raw less 2007-03-06 10:56:02 +00:00
Sylvain Pion a9b07285d5 remove duplicate .cpp.o rule 2007-03-06 10:33:05 +00:00
Sylvain Pion de6c73b188 - Remove cgal_test from dont_submit as they are not under SVN anymore. 2007-03-06 10:04:41 +00:00
Sylvain Pion dc16641bec remove warnings 2007-03-03 08:56:34 +00:00
Sylvain Pion 6bf0219e18 update following previous renaming 2007-02-28 16:34:01 +00:00
Sylvain Pion b760147492 remove empty first lines 2007-02-16 09:36:28 +00:00
Sylvain Pion 7dcfe00529 - Move documentation of Boolean_tag<bool>, Tag_true and Tag_false
to STL_Extension.
2007-02-09 17:13:47 +00:00
Sylvain Pion d8ddadd925 remove more references to the Support Library 2007-02-09 13:38:48 +00:00
Andreas Fabri 49df0a4603 Removed template member function. It is not clear why it is needed and causes trouble for the Circular_kernel_3 testsuite for VC++ 2007-02-01 16:18:38 +00:00
Michael Hemmer c5c80a1a19 commit missing part 2007-02-01 12:21:04 +00:00
Michael Hemmer f9608ddc45 added doc for Boolean_tag<bool>
update doc of Tag_false / Tag_true 
rm doc of function check_tag, which is obsolete due to public bool value
2007-02-01 10:39:21 +00:00
Sylvain Pion 52ec7ae45b Remove makefile, and rename .C to .cpp 2007-01-27 20:04:06 +00:00
Sylvain Pion 63b4b6852d remove default cgal_test from SVN 2007-01-27 19:32:07 +00:00
Sylvain Pion 1ec1875a01 Add missing #include <CGAL/representation_tags.h>. 2007-01-23 15:43:06 +00:00
Sylvain Pion 40d0fb8d35 Fix all "align=center" in <img> by "align=middle". 2007-01-13 21:49:03 +00:00
Laurent Rineau 8285a5c49c A Plan_3 is degenerate iff a = b = c *and* c = 0. 2007-01-10 23:32:16 +00:00
Sylvain Pion 70b3bee5af Move 3D .bbox() to the functors to make Lazy_kernel pass, and enhance the test-suite to test .bbox() 2006-12-27 23:26:06 +00:00
Andreas Fabri 0be85d575d The direction must be != 0 in the constructor of the rotation 2006-12-17 22:28:35 +00:00
Michael Hemmer ac993aa678 rm use of Algebraic_structure_tag 2006-12-04 13:59:37 +00:00
Sylvain Pion bd1e8bfc3a Add operator[] in Point_3 (and test it). 2006-11-23 12:56:55 +00:00
Andreas Fabri 3bb7c0d5d4 workaround for min/max problem 2006-11-11 17:34:54 +00:00
Michael Hemmer 10897c9daa simplified Syntax 2006-11-08 14:46:59 +00:00
Michael Hemmer 32fc473988 replaced Number_type_traits by Algbraic_structure_traits 2006-11-08 13:49:39 +00:00
Andreas Fabri a1ada56c6a Added missing operator 2006-11-06 15:07:47 +00:00
Andreas Fabri 07658cbdc8 remove comment for workaround for VC++ 2006-11-06 12:05:36 +00:00
Andreas Fabri cea0f3bbf1 workaround for VC++ 2006-11-06 10:18:16 +00:00
Sylvain Pion 14c04ed337 Sneak in Lazy_kernel without anyone noticing. 2006-10-27 19:01:33 +00:00
Sylvain Pion b76d4b1ce4 Add \ccInclude 2006-10-24 15:40:47 +00:00
Andreas Meyer e9e8387260 merged changes from CGAL_with_EXACUS branch into trunk.
revisions used: 
(1) 32995:34537 
(2) 34538:34906
2006-10-24 15:21:25 +00:00
Sylvain Pion fbe285ca94 New predicates :
compare_squared_distance(Point_[23], Point_[23], FT), with
  CompareSquaredDistance_[23] functors.
2006-10-24 05:24:31 +00:00
Sylvain Pion d49e1814b6 add carriage returns. 2006-10-21 14:20:14 +00:00
Andreas Fabri 89d1762361 min/max changes also in the testsuite 2006-09-13 16:27:24 +00:00
Andreas Fabri 1cdfe0a29b Added a circle constructor with two points and bulge 2006-09-01 13:25:52 +00:00
Andreas Fabri 0b94820931 fixed min/max problem 2006-08-16 21:29:43 +00:00
Sylvain Pion ed36e763c7 Second part of Return_base_tag changes. 2006-08-16 16:38:49 +00:00
Sylvain Pion 2eb12d7441 - First part of introduction of Return_base_tag workaround for lack
of "forwarding constructors".
  Quoting some comment in the code:
  "
    This is a simple tag which is used as additional (first) argument in
    some kernel functors, to tell them to return the base (rep) class,
    instead of the main type (e.g. Kernel_base::Point_2 instead
    of Kernel::Point_2).  This is a minor optimization which prevents
    useless copies of the "reps".

    Those functors are only those used in the constructors of the kernel
    types like Point_2, so it's limited.

    The real solution will be to use "forwarding constructors", when they
    will be available in C++.
    In the mean time, this should be a mostly/hopefully internal hack.
  "
2006-08-16 14:56:11 +00:00
Andreas Fabri 6830557518 fixed min/max problem 2006-08-16 14:08:44 +00:00
Sylvain Pion daee2152ec Make the return type of the function operator() of the
Construct_point_2 functors be the Rep class (the base).
This avoids conversions Rep -> Point_2 -> Rep, hence
useless copies of objects.
The result_type of the functors does not change
(we therefore return a type which is only convertible
to result_type, but hopefully this is fine, and what standard
requirements on functors are anyway).
A real fix for this would require the language addition of
"forwarding constructors".
2006-08-11 11:48:16 +00:00
Sylvain Pion ef72d8ae7e Remove the .rep() as they are useless since there is the automatic base class conversion (and see next change) 2006-08-11 11:36:01 +00:00
Sylvain Pion cb4d5597bf Add BOOST_STATIC_ASSERT() to check that CGAL::Point_2<R>
is only instantiated when R::Point_2 is itself.
2006-08-11 10:23:23 +00:00
Sylvain Pion 629c1dfddd Ray_2.is_degenerate() was buggy. 2006-08-11 09:01:12 +00:00
Andreas Meyer 68c3715b5c support for LEDA 5.x (mostly done by Eric Berberich) 2006-08-10 15:14:32 +00:00
Andreas Fabri 44daf8cc17 fixed typo (thank's Sylvain) 2006-08-08 20:08:41 +00:00
Andreas Fabri c45818326b Added Kernel::Compute{X,Y,Z}_3 2006-08-08 18:31:00 +00:00
Sylvain Pion 7ab36784b9 Merge the various constructors into a template to avoid ambiguities 2006-08-08 08:24:09 +00:00
Andreas Meyer b454b3febd manual cleanup:
* .C ---> .cpp
* removed ../examples from paths
* moved some demo/example files out of doc_tex into their respective place
* now it should build properly, again
2006-08-07 16:43:09 +00:00
Sylvain Pion c50783f08f Bad luck: "equi-distant" -> "equidistant" (thanks Andreas). 2006-08-07 16:11:40 +00:00
Sylvain Pion 38853d1b10 - Optimize equi_distant_line() by merging the calls to
circumcenter() and cross_product().
- Add ctors to Point_[23] and Vector_[23] that take
  int, double, and FT coordinates, instead of only RT.
2006-08-07 15:57:40 +00:00
Sylvain Pion 12838a204a - Add a distinguishing "int" template parameter
to First_if_different, defaulting to 0, which
  allows to differentiate it in places where it's
  needed.
2006-08-07 15:18:21 +00:00
Sylvain Pion cb6639b85a Introduce wmult_hw(), a new abstraction for Homogeneous/Cartesian,
similar to wmult(), for calls .hw() on the last argument
(i.e., does absolutely nothing in the Cartesian case).
2006-08-07 12:34:24 +00:00
Sylvain Pion cd1cdd3188 Add missing #include. 2006-08-06 22:12:05 +00:00
Sylvain Pion cc7624fa5c Last bunch of I/O changes to alloz Lazy_kernel to pass the kernel-I/O test-suite. 2006-08-06 16:37:35 +00:00
Sylvain Pion 5d3ca03180 You believed this could be something else ? : Move Plane_3 I/O to user class level 2006-08-06 16:06:39 +00:00
Sylvain Pion 812a7c8cbd You guessed right : Move Tetrahedron_3 I/O to user class level 2006-08-06 15:59:24 +00:00
Sylvain Pion 02414e55f0 Guess what : Move Iso_cuboid_3 I/O to user class level 2006-08-06 15:55:58 +00:00
Sylvain Pion e6f5182e7a Move Triangle_3 I/O to user class level 2006-08-06 15:50:48 +00:00
Sylvain Pion 38c91de538 Move Ray_3 I/O to user class level 2006-08-06 15:45:55 +00:00
Sylvain Pion cce78c4286 Move Line_3 I/O to user class level 2006-08-06 15:40:06 +00:00
Sylvain Pion ac192e33ec Move Segment_3 I/O to user class level 2006-08-06 15:35:57 +00:00
Sylvain Pion 3634f311e2 Move Direction_3 I/O to user class level 2006-08-06 15:29:08 +00:00
Sylvain Pion ab88a8e595 Move Vector_3 I/O to user class level 2006-08-06 15:18:37 +00:00
Sylvain Pion ef0f5d103f Move Triangle_2 I/O to user class level 2006-08-05 23:31:09 +00:00
Sylvain Pion 45e65df64c Move Ray_2 I/O to user class level 2006-08-05 23:18:30 +00:00
Sylvain Pion aa9fb702a0 Move Segment_2 I/O to user class level 2006-08-05 23:04:36 +00:00
Sylvain Pion eb4be2820d Move Direction_2 I/O to user class level 2006-08-05 22:55:06 +00:00