Commit Graph

26 Commits

Author SHA1 Message Date
Waqar Khan 1c355ef42a 1. "Snap_rounding_traits_2.h" "Snap_rounding_kd_2.h" "Kd_tree.h" "snap_rounding_data.cpp", Changed the File header signature to match the templated signatures.
2. Made the required changes in the concepts i.e. in "Snap_rounding_2/doc/Snap_rounding_2/Concepts/SnapRoundingTraits_2.h"
 3. Added documentation for the reserve() method of Kd_tree
 4. Deleted the un maintained olk kd_tree package
2014-03-07 16:13:44 +01:00
Waqar Khan 0e14493632 1. "snap_rounding_data.cpp" Added Example usage in-code documentation. Removed the timer that recorded the amount of time taken by the snap_rounding. The timer was initally added to test the snap rounding running time difference using new Kd_trees
2. "Snap_rounding_kd_2.h" "Snap_rounding_traits_2.h" Added documentation and changed Copyright information and authors appropriately.
3. "kd_tree.h" Renamed the reserve_to_capacity() to reserve().
4. Snap_rounding_kd_new.h deleted
2014-03-01 18:58:40 +01:00
Eric Berberich e8ca703f02 refactored some classes
* simplified Point_with_history
* added second parameter (Traits) to Search_traits
* made classes internal
2014-02-18 14:58:09 +01:00
Waqar Khan 1feea5aff6 18-Feb-2014 Variable names modified appropriately in Snap_rounding_kd_2.h. Also snap_rounding_data.cpp modified to take output file as argument aswell 2014-02-18 01:51:07 +01:00
Waqar Khan 558bbf3bc4 Some unnecessary comments removed 2014-02-18 01:41:45 +01:00
Waqar Khan b46b37e7b2 reserve_to_capacity() method for Kd_tree.h that pre-allocated memory for points added. New Snap_rounding example added where the input data is taken from a file. Snap_rounding_kd_2.h modified to use the reserve_to_capacity method before creating the kd_tree. This improves the running time. 2014-02-18 01:41:44 +01:00
Waqar Khan 287669a500 code clean up 2014-02-18 01:41:44 +01:00
Waqar Khan 980351403c 30-January-2014 Snap rounding kd_tree replacement Completed. Thorough tests pending. 2014-02-18 01:41:43 +01:00
Waqar Khan 6c89d63be3 30-January-2014 Old kd_trees successfully replaced with new kd_trees (comments modified). Thourough testing still pending. 2014-02-18 01:41:43 +01:00
Waqar Khan 810adebb5b 30-January-2014 Old kd_trees successfully replaced with new kd_trees. Thourough testing still pending. 2014-02-18 01:41:43 +01:00
Waqar Khan ef8e0890e5 29-Jan-2014 Just addd a few comments 2014-02-18 01:41:42 +01:00
Waqar Khan f57279f804 27-Jan-2014 Progress made on kd_tree migration 2014-02-18 01:41:42 +01:00
Waqar Khan 3744c7b323 27-01-2014 new search traits now work with New Kd_trees. 2014-02-18 01:41:41 +01:00
Waqar Khan cdfcce9472 24-01-2014 Appropriate interface for new Kd_tree created 2014-02-18 01:41:41 +01:00
Philipp Möller ab47bfd93d Add a static assertion for SAVED_OBJECT to avoid misuse 2013-10-29 10:22:22 +01:00
Philipp Möller a588e0a294 Add destructor and delete allocated memory
In the only use case in the code base SAVED_OBJECT is a
pointer. Technically the deallocation of the objects should happen
inside the snap rounding algorithm itself, but this would some
modifications to the algorithm necessary. For simplicity
Multiple_kd_tree now takes ownership of the SAVED_OBJECTs and
deallocates them.
2013-10-28 11:51:09 +01:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Andreas Fabri aba7781117 Add some const& to avoid copies 2010-10-15 14:06:33 +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
Ophir Setter 3c1079c43b monsterous ifs 2008-07-28 06:10:18 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Shlomo Golubev 11a425f132 add parentheses around && within || 2007-09-05 23:47:49 +00:00
Andreas Fabri 5650edce6f fix min/max problem 2006-08-03 03:33:57 +00:00
Marc Glisse b13e3b5ec0 Last round of missing std:: before 3.2 (Andreas permission) 2006-04-19 16:56:12 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret 439becf848 Move packages to trunk root 2006-02-14 08:58:19 +00:00