lemon/dim2.h
changeset 44 7bbd94715db5
parent 39 0a01d811071f
child 49 9a556af88710
equal deleted inserted replaced
2:6fb578b468bd 3:41c9d131f25e
   531       }
   531       }
   532 
   532 
   533     };//class Boundingbox
   533     };//class Boundingbox
   534 
   534 
   535 
   535 
   536   ///Map of x-coordinates of a \ref Point "Point"-map
   536   ///Map of x-coordinates of a Point map
   537 
   537 
   538   ///\ingroup maps
   538   ///\ingroup maps
   539   ///Map of x-coordinates of a \ref Point "Point"-map.
   539   ///Map of x-coordinates of a \ref dim2::Point "Point"-map.
   540   ///
   540   ///
   541   template<class M>
   541   template<class M>
   542   class XMap 
   542   class XMap 
   543   {
   543   {
   544     M& _map;
   544     M& _map;
   568   inline XMap<M> xMap(const M &m) 
   568   inline XMap<M> xMap(const M &m) 
   569   {
   569   {
   570     return XMap<M>(m);
   570     return XMap<M>(m);
   571   }
   571   }
   572 
   572 
   573   ///Constant (read only) version of \ref XMap
   573   ///Constant (read only) version of XMap
   574 
   574 
   575   ///\ingroup maps
   575   ///\ingroup maps
   576   ///Constant (read only) version of \ref XMap
   576   ///Constant (read only) version of \ref XMap
   577   ///
   577   ///
   578   template<class M>
   578   template<class M>
   598   inline ConstXMap<M> xMap(const M &m) 
   598   inline ConstXMap<M> xMap(const M &m) 
   599   {
   599   {
   600     return ConstXMap<M>(m);
   600     return ConstXMap<M>(m);
   601   }
   601   }
   602 
   602 
   603   ///Map of y-coordinates of a \ref Point "Point"-map
   603   ///Map of y-coordinates of a Point map
   604     
   604     
   605   ///\ingroup maps
   605   ///\ingroup maps
   606   ///Map of y-coordinates of a \ref Point "Point"-map.
   606   ///Map of y-coordinates of a \ref Point "Point"-map.
   607   ///
   607   ///
   608   template<class M>
   608   template<class M>
   635   inline YMap<M> yMap(const M &m) 
   635   inline YMap<M> yMap(const M &m) 
   636   {
   636   {
   637     return YMap<M>(m);
   637     return YMap<M>(m);
   638   }
   638   }
   639 
   639 
   640   ///Constant (read only) version of \ref YMap
   640   ///Constant (read only) version of YMap
   641 
   641 
   642   ///\ingroup maps
   642   ///\ingroup maps
   643   ///Constant (read only) version of \ref YMap
   643   ///Constant (read only) version of \ref YMap
   644   ///
   644   ///
   645   template<class M>
   645   template<class M>
   666   {
   666   {
   667     return ConstYMap<M>(m);
   667     return ConstYMap<M>(m);
   668   }
   668   }
   669 
   669 
   670 
   670 
   671     ///\brief Map of the \ref Point::normSquare() "normSquare()"
   671     ///\brief Map of the normSquare()
   672     ///of a \ref Point "Point"-map
   672     ///of a Point map
   673     ///
   673     ///
   674     ///Map of the \ref Point::normSquare() "normSquare()"
   674     ///Map of the \ref Point::normSquare() "normSquare()"
   675     ///of a \ref Point "Point"-map.
   675     ///of a \ref Point "Point"-map.
   676     ///\ingroup maps
   676     ///\ingroup maps
   677     ///
   677     ///