Debian Codegraph @

src/coordinate.h

raw symbols SCIP
1 // Copyright 2005 by Anthony Liekens [email protected]
2
3 #ifndef COORDINATE_H
4 #define COORDINATE_H
5
6 class Coordinate {
7 private:
8 double x, y;
9 public:
10 Coordinate();
11 Coordinate( double x, double y );
12
13 void setX( double x );
14 void setY( double y );
15 void setXMapped( int x );
16 void setYMapped( int y );
17
18 double getX() const;
19 double getY() const;
20 int getXMapped() const;
21 int getYMapped() const;
22
23 double distance( const Coordinate& c ) const;
24
25 bool operator==( const Coordinate &that) const;
26 };
27
28 #endif