Ticket #8026: polygon_point_docu_fix.patch

File polygon_point_docu_fix.patch, 1.1 KB (added by Martin Gernhard <martin.gernhard@…>, 10 years ago)
  • doc/gtl_custom_point.htm

     
    9797template &lt;&gt;<br>&nbsp; &nbsp;
    9898struct point_mutable_traits&lt;CPoint&gt; {<br>&nbsp; &nbsp;
    9999&nbsp; &nbsp;
     100typedef int coordinate_type;<br><br>&nbsp; &nbsp;
     101&nbsp; &nbsp;
    100102static inline void set(CPoint&amp; point, orientation_2d orient, int value) {<br>&nbsp; &nbsp;
    101103&nbsp; &nbsp;
    102104&nbsp; &nbsp;
  • doc/gtl_point_concept.htm

     
    117117<br />
    118118template &lt;typename T&gt;<br />
    119119struct point_mutable_traits {<br />
     120&nbsp;&nbsp;&nbsp;&nbsp; typedef typename T::coordinate_type coordinate_type;<br />
     121<br />
    120122&nbsp;&nbsp;&nbsp;&nbsp; static void set(T&amp; point, orientation_2d orient,
    121123typename point_traits&lt;T&gt;::coordinate_type value) {<br />
    122124&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; point.set(orient, value);