Last change
on this file since 130 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
356 bytes
|
Rev | Line | |
---|
[20] | 1 | /* |
---|
| 2 | * |
---|
| 3 | * [desc.] |
---|
| 4 | */ |
---|
| 5 | #include "Tools/Viewer/Bdd/include/Coord.h" |
---|
| 6 | |
---|
| 7 | namespace morpheo{ |
---|
| 8 | namespace tools{ |
---|
| 9 | namespace viewer{ |
---|
| 10 | namespace bdd{ |
---|
| 11 | |
---|
| 12 | Coord::Coord(int x,int y,int lx,int ly){ |
---|
| 13 | pos_hg_x=x-lx; |
---|
| 14 | pos_hg_y=y-ly; |
---|
| 15 | pos_bd_x=x+lx; |
---|
| 16 | pos_bd_y=y+ly; |
---|
| 17 | size_x=lx*2; |
---|
| 18 | size_y=ly*2; |
---|
| 19 | } |
---|
| 20 | |
---|
| 21 | };//end bdd |
---|
| 22 | };//end viewer |
---|
| 23 | };//end tools |
---|
| 24 | };//end morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.