mirror of https://github.com/CGAL/cgal
| ------------------------------------------------------------------------ | r57752 | lrineau | 2010-08-03 16:22:25 +0200 (Tue, 03 Aug 2010) | 6 lines | Changed paths: | M /trunk/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h | M /trunk/Homogeneous_kernel/include/CGAL/Homogeneous/function_objects.h | M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_CompareDistance_2.tex | M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_CompareDistance_3.tex | M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_CompareSquaredDistance_2.tex | M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_CompareSquaredDistance_3.tex | M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_ComputeSquaredDistance_2.tex | M /trunk/Kernel_23/doc_tex/Kernel_23_ref/Kernel_ComputeSquaredDistance_3.tex | A /trunk/Kernel_23/doc_tex/Kernel_23_ref/compare_distance.tex | M /trunk/Kernel_23/doc_tex/Kernel_23_ref/compare_squared_distance.tex | M /trunk/Kernel_23/include/CGAL/Kernel/global_functions.h | M /trunk/Kernel_23/include/CGAL/Kernel/global_functions_internal_2.h | M /trunk/Kernel_23/include/CGAL/Kernel/global_functions_internal_3.h | M /trunk/Kernel_23/test/Kernel_23/include/CGAL/_test_new_2.h | M /trunk/Kernel_23/test/Kernel_23/include/CGAL/_test_new_3.h | | - Deprecate operator()(T1, T2, T3, T4) of Kernel::CompareSquaredDistance_[23] | and move it to Kernel::CompareDistance_[23]. | - Add CGAL::compare_distance(T1, T2, T3, T4). | | (Test suite OK.) | | ------------------------------------------------------------------------ |
||
|---|---|---|
| .. | ||
| doc_tex | ||
| examples/Kernel_23 | ||
| include/CGAL | ||
| package_info/Kernel_23 | ||
| src/CGAL | ||
| test/Kernel_23 | ||
| README | ||
| dont_submit | ||
README
When adding a new function object to the kernel you must:
-- possibly change include/CGAL/Kernel/function_objects.h
to add a new function object "builder" in namespace internal::
-- change include/CGAL/Kernel/interface_macros.h
to add the actual function object class and its corresponding
member function that returns an object of this class
-- change test/Kernel/include/CGAL/_test_new_2.h and/or
test/Kernel/include/CGAL/_test_new_3.h to add the test
for this function object.
-- in the directory doc_tex/kernel/Ref add a file called
Kernel_<NewFunctionObject> that describes the requirements for
this function object type (see the other similarly named files in this
directory)
-- This functor should have a SeeAlso entry for the global function(s)
or class(es) that provide the same functionality in the imperative
interface
-- add <New_function_object> to the set of requirements for the Kernel
concept in the file doc_tex/kernel/Ref/Kernel.tex.
-- in the file doc_tex/kernel/Ref/ref_manual.tex add the command
\input{Ref/Kernel_<New function object>}
in the proper place
-- in the file doc_tex/kernel/kernel_toc add a ccRefConceptPage command
for the page in the proper place.