Commit Graph

1841 Commits

Author SHA1 Message Date
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
Sylvain Pion 0e7340c184 Move Vector_2 I/O to user class level 2006-08-05 22:34:47 +00:00
Sylvain Pion 48390a019a Move Sphere_3 I/O to user class level. 2006-08-05 22:17:02 +00:00
Sylvain Pion 7bfade9820 Initialize geometric objects before passing them to predicates, otherwise Lazy_kernel barfs 2006-08-05 13:35:44 +00:00
Sylvain Pion c9de727dd2 New construction equi_distant_line(3 Point_3), with functor. 2006-08-04 15:03:16 +00:00
Sylvain Pion fcbacc1284 Have squared_distance(Point_3, Point_3) call its functor. 2006-08-04 12:41:56 +00:00
Sylvain Pion c7f1f68b40 Move Point_3 I/O to user class level. 2006-08-04 12:08:14 +00:00
Sylvain Pion ad1e880bc0 Regenerate for Lazy_kernel 2006-08-03 22:55:20 +00:00
Sylvain Pion f4be5b9920 Add overloads of circumcenter() taking only 2 Point_2 (or Point_3),
that is, the same thing as midpoint(), but with a uniform notation.
Same thing for the corresponding functor.
2006-08-03 17:07:39 +00:00
Sylvain Pion c7abea8657 Well, it now fully passes the test-suite :-)
Yeah !!!
2006-08-03 11:33:25 +00:00
Sylvain Pion fc39b60aa7 - Add a test program for the Lazy_kernel.
It's beginning to work.
2006-08-03 11:31:40 +00:00
Sylvain Pion 38b7c42bd6 Document new Iso_rectangle/Iso_cuboid constructor. 2006-08-03 09:40:42 +00:00
Sylvain Pion ea748e53d4 Add new constructor to Iso_rectangle_2(Point_2, Point_2, int).
The additional dummy "int" specifies that the 2 points are
the lower-left and upper-right corner.  This is more efficient
when one knows they are already in this configuration.

Same thing for Iso_cuboid_3, and the functors.

Use them in Cartesian_converter and Homogeneous_converter.
2006-08-03 09:40:12 +00:00
Sylvain Pion 64d8c5e77a - Remove blanks at end of line
- Make Assign_[23]::result_type be bool instead of K::Bool_type.
  (it can't be Uncertain<bool>).
2006-08-03 08:40:47 +00:00
Sylvain Pion f84245c8d1 Add determinant() to the kernel archetype as well... 2006-08-02 19:14:03 +00:00
Sylvain Pion 6ee4e656e7 Add determinant(Vector_2, Vector_2)
Add determinant(Vector_3, Vector_3, Vector_3)
And corresponding functor.
2006-08-02 18:57:40 +00:00
Sylvain Pion 540406f767 Rename FT -> RT. 2006-08-02 18:19:18 +00:00
Andreas Meyer d72148ffdb bugfix for g++-3.3 : added missing #include <CGAL/Kernel/mpl.h>
( strange: for g++-3.4/4.x, there was no problem ... )
2006-08-02 16:54:57 +00:00
Sylvain Pion 7b120847c9 Do_intersect_3 is a predicate, not a construction. 2006-08-02 12:17:19 +00:00
Sylvain Pion b69dd83c5f Use CGAL_Kernel_obj. 2006-08-02 11:43:40 +00:00
Sylvain Pion 18b1d37259 Add a macro CGAL_Kernel_obj(X) in the same spirit
as CGAL_Kernel_pred(X,Y) and CGAL_Kernel_cons(X, Y),
but which lists all kernel objects (Point_2...).
2006-08-02 11:36:26 +00:00
Sylvain Pion b7614eee4e More code move towards user classes, and improve 3D support for LazyK. 2006-08-02 11:23:56 +00:00
Sylvain Pion a63e4909f9 Move some Vector_3 functions to user class level. 2006-08-02 08:32:23 +00:00
Sylvain Pion 91faa1fff3 Remove spurious comma triggering a warning with sunpro 2006-08-01 21:29:53 +00:00
Sylvain Pion 38956c9b10 Move yet another bunch of code to user classes... 2006-08-01 16:15:07 +00:00
Sylvain Pion ca7ca6c0bc More code move to user classes. 2006-08-01 15:39:37 +00:00
Sylvain Pion 4408fa1c2a More code move to user classes. 2006-08-01 14:10:09 +00:00
Sylvain Pion a04f166f1f - Move more code to the "user classes". 2006-08-01 13:17:03 +00:00
Sylvain Pion cbd6fc9417 Move .transform() in the 3D user classes.
Move some functions in the 3D user classes instead of the internal
 rep classes.
2006-08-01 12:09:47 +00:00
Sylvain Pion 04b834db9a Move .transform() functions to the "user classes" level. 2006-08-01 09:08:28 +00:00
Sylvain Pion 0c5460ccfa - Have free operator== and != call the Equal_3 functor for 3D kernel objects.
- Introduce .rep() in 3D kernel objects.
2006-08-01 07:56:38 +00:00
Sylvain Pion 5db77ed5d1 Add Compare_yx_2 functor to the kernel archetype. 2006-07-31 22:59:54 +00:00
Sylvain Pion ead2e93fdb - Add missing functor for compare_yx(). 2006-07-31 16:22:08 +00:00
Sylvain Pion e208720200 Comment out compare_deltax_deltay() predicate, as it is undocumented,
unused in CGAL, and does not have corresponding functor.
2006-07-31 15:52:21 +00:00
Andreas Fabri fafaa14fc1 Fixed min max problem 2006-07-30 13:06:56 +00:00
Sylvain Pion 419ddf2112 The Filtered_predicate example in the doc was not tested, and hence was buggy.
Make it a real example which works.
2006-07-21 16:25:28 +00:00
Menelaos Karavelas 213aad8fc2 removed specializations of Pairify for Comparison_result and
Oriented_side; they are now taken care of by that of Sign.
2006-07-21 11:21:56 +00:00
Menelaos Karavelas d1862ff4de in Enum_converter: removed (dummy) conversions for Oriented_side and
Comparison_result; they should be taken care of by the conversion for
Sign, now that Sign, Oriented_side and Comparison_result are the same
type.
2006-07-18 09:36:56 +00:00
Christophe Delage ff123ee544 - typedefed Oriented_side and Comparison_result to Sign
- added unary - and binary * operators for Sign
2006-07-18 07:01:03 +00:00
Sylvain Pion 8a96ddbbcc Mention static filters and cite the paper. 2006-07-13 15:23:48 +00:00
Sylvain Pion fbaf303f0f Interval_arithmetic -> Filtered_kernel 2006-07-12 13:17:39 +00:00
Sylvain Pion 45bfd07a83 Remove some #include <CGAL/Arithmetic_filter/...> (Filtered_exact stuff). 2006-07-12 12:03:52 +00:00
Sylvain Pion d08bf9f445 Remove notices of "see the Support Library Manual", as number types
are moving in a dedicated part, and also the HTML links work anyway
these days.
2006-07-12 11:43:02 +00:00
Andreas Fabri ad99a80661 changed .C to .cpp in examples 2006-07-09 19:56:45 +00:00
Andreas Fabri 2677ab6ea4 changed .C to .cpp in examples 2006-07-09 19:56:22 +00:00
Andreas Fabri a0e4d8e38f fix of \ccPkgIntroducedInCGAL 2006-06-20 12:12:43 +00:00
Efi Fogel d083fa1323 renamed Bool to Bool_type to avoid a conflict between a macro of the same name defined in Xlib.h 2006-06-13 14:35:40 +00:00
Andreas Meyer 0e3d6b8143 manual bugfix (ccHowToCiteCgal) 2006-05-04 12:28:44 +00:00
Andreas Meyer dc3ce8747e \ccHowToCite --> \ccHowToCiteCgal 2006-05-03 11:24:03 +00:00
Andreas Fabri e9be3bcfb0 Added ccHowTocite 2006-05-02 17:48:49 +00:00
Andreas Fabri b4a40dd7f9 Added Herve 2006-04-30 19:19:05 +00:00
Andreas Fabri eb8934b4af Brought names in alphabetical order [merci monique] 2006-04-28 14:45:27 +00:00
Andreas Fabri fd4db87aa6 Added Lutz, Susan and Michael as they are in the Alenex paper 2006-04-28 07:16:28 +00:00
Andreas Fabri 9747186cbc Added authors (tentative list) 2006-04-27 13:12:52 +00:00
Andreas Meyer 09d2cb06c5 replaced
\ccPkgMaturity{Introduced in \cgal\ 
by 
\ccPkgIntroducedInCGAL{
2006-04-26 16:40:25 +00:00
Andreas Fabri 02497d2b97 Removed the general operator in Equal_2 2006-04-20 08:32:23 +00:00
Andreas Fabri db950b9c92 Removed \input of number type concepts 2006-04-20 06:38:14 +00:00
Marc Glisse b13e3b5ec0 Last round of missing std:: before 3.2 (Andreas permission) 2006-04-19 16:56:12 +00:00
Andreas Fabri b748096009 Moved number type related stuff from kernels to support library 2006-04-19 15:08:58 +00:00
Andreas Fabri 3c700d4f09 Moved Leda description to the General Introduction 2006-04-16 13:11:17 +00:00
Laurent Saboret 312353dd51 Global fix of svn:executable property in trunk 2006-04-14 15:07:17 +00:00
Sylvain Pion d2740513aa Use .cpp file extension instead of .C for src/*/* files. 2006-04-14 09:19:29 +00:00
Sylvain Pion 22ad725de1 Move src/*.C to src/CGAL/*.C 2006-04-13 22:24:18 +00:00
Andreas Fabri fd846ab246 Added package description 2006-04-10 14:26:46 +00:00
Andreas Meyer 2261e9cdfd rename: \ccEnableRawListOfRefpages 2006-04-09 22:16:09 +00:00
Andreas Meyer 6d2a9e33c7 special formatting for the kernel ref manual 2006-04-07 18:41:45 +00:00
Andreas Meyer 5b5a60cecf rewritten the whole manual
ok. seriously:

renamed \chapter into \ccUserChapter and \ccRefChapter
2006-04-06 17:03:37 +00:00
Andreas Meyer 2e6e7d1816 introductory sentence does not need to be limited to ps/pdf version 2006-04-06 16:10:05 +00:00
Sylvain Pion 290a24c95e Sphere_3::orthogonal_transform fixes:
- was only declared in Homogeneous
- was buggy in Cartesian
- was not tested
2006-04-03 13:16:31 +00:00
Andreas Fabri 88b7f854dd updated explanations for MyKernel as we enforce type equality 2006-03-31 08:59:20 +00:00
Andreas Fabri f5f4760b7c Made example work with new Kernel design 2006-03-28 13:39:28 +00:00
Andreas Fabri 405a847ead Made example work with new Kernel design 2006-03-28 13:38:10 +00:00
Sylvain Pion 91a182a6fa - On the road to fix a red line. 2006-03-21 10:36:00 +00:00
Joachim Reichel f582718758 rename create_makefile to cgal_create_makefile to avoid name clashes,
adjust all occurences of create_makefile and create\_makefile in the entire
repository (well, trunk only)
2006-03-15 22:10:02 +00:00
Sylvain Pion 523227ac96 - Rename to match package name. 2006-03-14 22:09:14 +00:00
Andreas Meyer 4d94595d23 replaced hardcoded link by \ccc{Kernel_d} 2006-03-09 15:15:44 +00:00
Sylvain Pion 0ec1b0efcc - Merge H2 and H3 into Homogeneous_kernel. 2006-03-06 23:51:27 +00:00
Andreas Fabri 32ccce0569 Added intro.tex with the \chapter command in order to get uniform URLs 2006-03-06 12:45:54 +00:00
Monique Teillaud 7428c48a19 labels added 2006-02-24 13:04:22 +00:00
Ron Wein b99982e7b5 A better fix for the test. 2006-02-19 14:47:00 +00:00
Ron Wein 721449de07 Commented out a problematic test. 2006-02-19 08:43:27 +00:00
Laurent Saboret db6a8f948c Change CVS keywords to SVN style 2006-02-16 14:30:13 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret a0a9b777bc Move packages to trunk root 2006-02-14 08:58:16 +00:00