# HG changeset patch # User alpar # Date 1158259147 0 # Node ID a886e48e0d91ebeddc922cea52e15c43dd4c663f # Parent 2c094dfa176d2297b9aca14fdc375e0a092ff7f8 Doc improvements diff -r 2c094dfa176d -r a886e48e0d91 lemon/dim2.h --- a/lemon/dim2.h Fri Sep 08 15:51:32 2006 +0000 +++ b/lemon/dim2.h Thu Sep 14 18:39:07 2006 +0000 @@ -455,14 +455,8 @@ } return *this; } - -// ///Sums a bounding box and a point -// BoundingBox operator +(const Point& u){ -// BoundingBox b = *this; -// return b += u; -// } - - ///Increments a bounding box with another bounding box + + ///Increments a bounding to contain another bounding box BoundingBox& add(const BoundingBox &u){ if ( !u.empty() ){ this->add(u.bottomLeft()); @@ -471,13 +465,6 @@ return *this; } - ///Sums two bounding boxes - BoundingBox operator +(const BoundingBox& u){ - BoundingBox b = *this; - return b.add(u); - } - - ///Intersection of two bounding boxes BoundingBox operator &(const BoundingBox& u){ BoundingBox b; @@ -496,6 +483,7 @@ ///Map of x-coordinates of a dim2::Point<>-map ///\ingroup maps + ///Map of x-coordinates of a dim2::Point<>-map /// template class XMap @@ -532,6 +520,7 @@ ///Constant (read only) version of \ref XMap ///\ingroup maps + ///Constant (read only) version of \ref XMap /// template class ConstXMap @@ -561,6 +550,7 @@ ///Map of y-coordinates of a dim2::Point<>-map ///\ingroup maps + ///Map of y-coordinates of a dim2::Point<>-map /// template class YMap @@ -597,6 +587,7 @@ ///Constant (read only) version of \ref YMap ///\ingroup maps + ///Constant (read only) version of \ref YMap /// template class ConstYMap @@ -624,11 +615,13 @@ } - ///Map of the \ref Point::normSquare() "normSquare()" of an \ref Point "Point"-map - - ///Map of the \ref Point::normSquare() "normSquare()" of an \ref Point "Point"-map - ///\ingroup maps - /// + ///\brief Map of the \ref Point::normSquare() "normSquare()" + ///of an \ref Point "Point"-map + /// + ///Map of the \ref Point::normSquare() "normSquare()" + ///of an \ref Point "Point"-map + ///\ingroup maps + /// template class NormSquareMap { diff -r 2c094dfa176d -r a886e48e0d91 lemon/eps.h --- a/lemon/eps.h Fri Sep 08 15:51:32 2006 +0000 +++ b/lemon/eps.h Thu Sep 14 18:39:07 2006 +0000 @@ -205,8 +205,8 @@ ///\ref lineTo(), \ref moveTo() will not take place immediately, but istead ///they ///are collected. These operations form a \e path. - ///Then you can \ref stroke(), \ref fill(), \ref eofill(), \ref clip() or - ///\ref eoclip() it. + ///Then you can \ref stroke(), \ref fill(), \ref eoFill(), \ref clip() or + ///\ref eoClip() it. ///When drawing, you can also use \ref closePath() to - surprise - close the ///current path. /// @@ -222,26 +222,26 @@ ///Stroke (draw) a path ///Stroke (draw) a path. - ///\sa collect + ///\sa collect() /// EpsDrawer &stroke(); ///Fill a path ///Fill a path. - ///\sa collect + ///\sa collect() /// EpsDrawer &fill(); ///Even-odd fill a path ///Even-odd fill a path. - ///\sa collect + ///\sa collect() /// EpsDrawer &eoFill(); ///Set a clipping area. ///This function sets a clipping area. After that, the drawing operations ///will affect only this area. - ///\sa collect + ///\sa collect() /// EpsDrawer &clip(); ///Set a clipping area using even-odd rule. @@ -249,7 +249,7 @@ ///This function sets a clipping area using even-odd rule. ///After that, the drawing operations ///will affect only this area. - ///\sa collect + ///\sa collect() /// EpsDrawer &eoClip();