Commit Graph

18 Commits

Author SHA1 Message Date
Sébastien Loriot b30d3daa2b do not use exception in Object::assign. g++3.4 produces a segfault with -O2 2013-06-12 17:39:31 +02:00
Philipp Möller 17797b7271 Merge next into this branch. There have been conflicts in the
AABB_tree documentation, Intersections_3 and Arrangement_on_surface_2.

The merge also introduced a regression for a bug fixed in R68387 which
fixed a bug in Triangle_3 Segment_3 intersections. The relevant
testcase is in triangle_other_intersection_test.cpp.
2012-04-24 15:06:19 +00:00
Philipp Möller c935a9dbc1 Fixed a crash when calling type() on an uninitialized Object 2011-11-15 15:05:20 +00:00
Philipp Möller 71c1a44f4f Safe bool conversion for object including tests 2011-11-08 11:01:59 +00:00
Philipp Möller 69add44ef4 Object switched to any internally 2011-11-07 16:22:56 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Philipp Möller 83fc8e4bf3 Added implicit conversion from variant to object 2011-07-20 19:26:15 +00:00
Philipp Möller ab7b592514 Made optional< variant > to Object conversion safer 2011-07-15 13:57:25 +00:00
Philipp Möller d98d1d057f Object: Made implicit conversion from optional<variant> safer
Overload: Added generalised overloads and tests
2011-06-23 13:09:49 +00:00
Philipp Möller b4c1504975 Added conversion from optional<variant<...>> 2011-06-22 15:27:48 +00:00
Philipp Möller ba7f258db8 Added implicit conversion from variant to object
Added test
2011-06-22 15:19:20 +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
Sylvain Pion b9a62e057c Add a convenience function for the idiom "if(obj.is<Point>())"... 2009-12-16 16:09:04 +00:00
Sylvain Pion 6aba449434 Replace Nef's custom Object_handle by CGAL::Object.
There were some differences :
- CGAL::Object has no template constructor, so using make_object() was required.
- CGAL::Object had no comparison with NULL to check emptyness.  I added
  such comparison operators to CGAL::Object as *deprecated*.
2008-09-09 16:03:25 +00:00
Sylvain Pion a565db4da9 Apply std::remove_reference *before* std::remove_cv... 2008-08-28 12:38:14 +00:00
Sylvain Pion 8865f7ea4f Use C++0x rvalue references in Object, Handle_for, MP_Float and Quotient. 2008-08-27 14:19:18 +00:00
Sylvain Pion 2f0abc4b6f Move CGAL::Object from Kernel_23 to STL_Extension. 2008-07-29 15:26:38 +00:00