27 #ifndef SCRIBO_PRIMITIVE_LINK_INTERNAL_DMAX_WIDTH_ONLY_HH
28 # define SCRIBO_PRIMITIVE_LINK_INTERNAL_DMAX_WIDTH_ONLY_HH
36 # include <scribo/primitive/link/internal/dmax_functor_base.hh>
60 float compute_(
const box2d&)
const;
63 using super_::dmax_factor_;
67 # ifndef MLN_INCLUDE_ONLY
71 dmax_width_only::dmax_width_only()
79 dmax_width_only::compute_(
const box2d& b)
const
82 return (w / 2.0f) + (dmax_factor_ * w);
86 # endif // ! MLN_INCLUDE_ONLY
98 #endif // ! SCRIBO_PRIMITIVE_LINK_INTERNAL_DMAX_WIDTH_ONLY_HH