1. 15 Mar, 2010 1 commit
    • Guillaume Lazzara's avatar
      Improve linking routines. · 906f2366
      Guillaume Lazzara authored
      	* core/anchors.hh: New. Add anchor types.
      
      	* filter/objects_thin.hh: Use filter::internal::compute.
      
      	* primitive/link/internal/find_several_links.hh,
      	* primitive/link/internal/find_link.hh,
      	* primitive/link/compute.hh: Update functor interface in order to
      	specify anchors.
      
      	* primitive/link/compute_several.hh: Fix an invalid namespace.
      
      	* primitive/link/internal/anchors_3.hh: Move...
      
      	* primitive/link/internal/compute_anchor.hh: ... here.
      
      	* primitive/link/internal/link_functor_base.hh: Use anchor type.
      
      	* primitive/link/internal/link_several_dmax_base.hh: New.
      
      	* primitive/link/internal/link_center_dmax_base.hh,
      	* primitive/link/internal/link_center_dmax_ratio_base.hh: Removed.
      
      	* primitive/link/with_several_right_links_overlap.hh: Fix includes.
      
      	* primitive/link/with_single_right_link_bottom.hh,
      	* primitive/link/with_single_right_link_top.hh,
      	* primitive/link/with_single_left_link.hh,
      	* primitive/link/with_single_right_link.hh: Use
      	link_single_dmax_base functor.
      
      	* src/debug/show_links_several_right_overlap.cc,
      	* src/debug/show_links_single_left.cc,
      	* src/debug/show_links_single_left_dmax_ratio.cc,
      	* src/debug/show_links_single_right.cc,
      	* src/debug/show_links_single_right_dmax_ratio.cc: Update functor
      	interface.
      906f2366
  2. 03 Nov, 2009 1 commit
    • Guillaume Lazzara's avatar
      Revamp code related to object linking. · 6181ecd5
      Guillaume Lazzara authored
      	* core/concept/link_functor.hh: New concept.
      
      	* core/internal/link_functor_base.hh: New Base class for link
      	functor.
      
      	* primitive/link/compute.hh,
      	* primitive/link/compute_several.hh,
      	* primitive/link/internal/anchors_3.hh,
      	* primitive/link/internal/find_link.hh,
      	* primitive/link/internal/find_several_links.hh,
      	* primitive/link/with_several_right_closest_links.hh,
      	* primitive/link/with_several_right_links_overlap.hh,
      	* primitive/link/with_single_left_link_dmax_ratio.hh,
      	* primitive/link/with_single_right_link_bottom.hh,
      	* primitive/link/with_single_right_link_dmax_ratio.hh,
      	* primitive/link/with_single_right_link_top.hh: New routines.
      
      	* primitive/link/internal/link_center_dmax_base.hh,
      	* primitive/link/internal/link_center_dmax_ratio_base.hh,
      	* primitive/link/internal/link_functor_base.hh,
      	* primitive/link/internal/link_ms_dmax_base.hh,
      	* primitive/link/internal/link_ms_dmax_ratio_base.hh: New functors.
      
      	* primitive/link/with_several_left_links.hh,
      	* primitive/link/with_several_right_links.hh: Use the new routines.
      
      	* primitive/link/with_single_left_link.hh,
      	* primitive/link/with_single_right_link.hh: Revamp and use the new
      	routines.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4705 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6181ecd5