oln::fdpoint2d< F > Class Template Reference

Collaboration diagram for oln::fdpoint2d< F >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef fdpoint2d< F > exact_type

Public Member Functions

 fdpoint2d ()
 fdpoint2d (F row, F col)
 The coordinates of the dpoint2d are set to row and col.
 fdpoint2d (const exact_type &p)
 The coordinates of the dpoint2d are set to the p coordinates.
row () const
 Return the value of the dpoint2d row coordinate.
F & row ()
 Return a reference to the dpoint2d row coordinate.
col () const
 Return the value of the dpoint2d column coordinate.
F & col ()
 Return a reference to the dpoint2d column coordinate.
exact_type operator+ (const exact_type &dp) const
exact_type operator- () const
 Return a dpoint2d whose coordinates are equal to the opposite of the current dpoint2d coordinates.
exact_type operator- (const exact_type &dp) const
 Return a dpoint2d whose coordinates are equal to the current dpoint2d coordinates minus dp coordinates.
exact_typeoperator+= (const exact_type &dp)
 Return a reference to the current dpoint2d plus dp.
exact_typeoperator-= (const exact_type &dp)
 Return a reference to the current dpoint2d minus dp.

Static Public Member Functions

static std::string name ()

Detailed Description

template<class F>
class oln::fdpoint2d< F >

Definition at line 61 of file fdpoint2d.hh.


The documentation for this class was generated from the following file:
Generated on Tue Feb 20 20:24:04 2007 for Olena by  doxygen 1.5.1