COIN-OR::LEMON - Graph Library

Changeset 2217:4a10a45d55f6 in lemon-0.x for lemon/dim2.h


Ignore:
Timestamp:
09/14/06 21:58:29 (18 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2947
Message:

Doc fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/dim2.h

    r2214 r2217  
    7474      Point(T a, T b) : x(a), y(b) { }
    7575
    76       ///Size of vector
     76      ///The dimension of the vector.
     77
     78      ///This class give back always 2.
     79      ///
    7780      int size() const { return 2; }
    7881
    7982      ///Subscripting operator
     83
     84      ///\c p[0] is \c p.x and \c p[1] is \c p.y
     85      ///
    8086      T& operator[](int idx) { return idx == 0 ? x : y; }
    8187
    8288      ///Const subscripting operator
     89
     90      ///\c p[0] is \c p.x and \c p[1] is \c p.y
     91      ///
    8392      const T& operator[](int idx) const { return idx == 0 ? x : y; }
    8493
Note: See TracChangeset for help on using the changeset viewer.