Revision 2669 branches/CqCMSDvp/libraries/libCq CMS for java.old/src/org/cresques/cts/ICoordTrans.java
ICoordTrans.java | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* Cresques Mapping Suite. Graphic Library for constructing mapping applications. |
3 |
* |
|
4 |
* Copyright (C) 2004-5. |
|
5 | 3 |
* |
4 |
* Copyright (C) 2004-5. |
|
5 |
* |
|
6 | 6 |
* This program is free software; you can redistribute it and/or |
7 | 7 |
* modify it under the terms of the GNU General Public License |
8 | 8 |
* as published by the Free Software Foundation; either version 2 |
... | ... | |
18 | 18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
19 | 19 |
* |
20 | 20 |
* For more information, contact: |
21 |
*
|
|
21 |
* |
|
22 | 22 |
* cresques@gmail.com |
23 | 23 |
*/ |
24 | 24 |
package org.cresques.cts; |
... | ... | |
26 | 26 |
import java.awt.geom.Point2D; |
27 | 27 |
import java.awt.geom.Rectangle2D; |
28 | 28 |
|
29 |
|
|
29 | 30 |
/** |
30 | 31 |
* @author "Luis W. Sevilla" <sevilla_lui@gva.es> |
31 | 32 |
*/ |
32 | 33 |
public interface ICoordTrans { |
33 |
public IProjection getPOrig(); |
|
34 |
public IProjection getPDest(); |
|
34 |
public IProjection getPOrig(); |
|
35 | 35 |
|
36 |
public Point2D convert(Point2D ptOrig, Point2D ptDest);
|
|
36 |
public IProjection getPDest();
|
|
37 | 37 |
|
38 |
public Rectangle2D convert(Rectangle2D rect);
|
|
38 |
public Point2D convert(Point2D ptOrig, Point2D ptDest);
|
|
39 | 39 |
|
40 |
public ICoordTrans getInverted(); |
|
40 |
public Rectangle2D convert(Rectangle2D rect); |
|
41 |
|
|
42 |
public ICoordTrans getInverted(); |
|
41 | 43 |
} |
Also available in: Unified diff