Revision 4879 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/IGeometry.java
IGeometry.java | ||
---|---|---|
41 | 41 |
package com.iver.cit.gvsig.fmap.core; |
42 | 42 |
|
43 | 43 |
import java.awt.Graphics2D; |
44 |
import java.awt.Shape; |
|
44 | 45 |
import java.awt.geom.AffineTransform; |
45 | 46 |
import java.awt.geom.PathIterator; |
46 |
import java.awt.geom.Point2D; |
|
47 | 47 |
import java.awt.geom.Rectangle2D; |
48 | 48 |
import java.io.IOException; |
49 | 49 |
import java.io.Serializable; |
... | ... | |
63 | 63 |
* |
64 | 64 |
* @author $author$ |
65 | 65 |
*/ |
66 |
public interface IGeometry extends Serializable { |
|
66 |
public interface IGeometry extends Shape, Serializable {
|
|
67 | 67 |
public static int BEST = 0; |
68 | 68 |
public static int N = 1; |
69 | 69 |
public static int NE = 2; |
... | ... | |
190 | 190 |
|
191 | 191 |
/** |
192 | 192 |
* Devuelve el GeneralPathXIterator con la informaci?n relativa a la geometr?a. |
193 |
* @param at TODO |
|
193 | 194 |
* |
194 |
* @return GeneralPathXIterator.
|
|
195 |
* @return PathIterator.
|
|
195 | 196 |
*/ |
196 |
GeneralPathXIterator getGeneralPathXIterator();
|
|
197 |
PathIterator getPathIterator(AffineTransform at);
|
|
197 | 198 |
|
198 | 199 |
public byte[] toWKB() throws IOException; |
199 | 200 |
/** |
... | ... | |
208 | 209 |
|
209 | 210 |
public void transform(AffineTransform at); |
210 | 211 |
|
211 |
PathIterator getGeneralPathIterator(AffineTransform at, double flatness);
|
|
212 |
PathIterator getPathIterator(AffineTransform at, double flatness); |
|
212 | 213 |
|
213 | 214 |
//boolean intersects(IGeometry geom); |
214 | 215 |
} |
Also available in: Unified diff