Revision 21425 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/Geometry.java
Geometry.java | ||
---|---|---|
52 | 52 |
import org.gvsig.fmap.geom.operation.GeometryOperationContext; |
53 | 53 |
import org.gvsig.fmap.geom.operation.GeometryOperationException; |
54 | 54 |
import org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException; |
55 |
import org.gvsig.fmap.geom.primitive.Envelope; |
|
55 | 56 |
import org.gvsig.fmap.geom.primitive.FShape; |
56 | 57 |
import org.gvsig.fmap.geom.primitive.GeneralPathX; |
57 | 58 |
import org.gvsig.fmap.geom.type.GeometryType; |
... | ... | |
158 | 159 |
* If this geometry is an extended type then this method returns a runtime constant that identifies its type. |
159 | 160 |
* By convention this value is stored in a constant called .CODE within the geometry class, for instance: Point2D.CODE. |
160 | 161 |
* |
161 |
* @return If this geometry is a predefined interface then one of {@link Geometry.TYPES} or a runtime constant if
|
|
162 |
* @return If this geometry is a predefined interface then one of {@link Geometry.TYPES} or a runtime constant if |
|
162 | 163 |
* it is an extended type. |
163 | 164 |
*/ |
164 | 165 |
public int getType(); |
... | ... | |
182 | 183 |
/** |
183 | 184 |
* Used by the drawing strategies to quickly test whether this geometry |
184 | 185 |
* intersects with the visible rectangle. |
185 |
*
|
|
186 |
* |
|
186 | 187 |
* @param x |
187 |
* @param y
|
|
188 |
* @param y |
|
188 | 189 |
* @param w Width |
189 | 190 |
* @param h Height |
190 | 191 |
* @return true if <code>this</code> intersects the rectangle defined by the parameters |
... | ... | |
193 | 194 |
|
194 | 195 |
/** |
195 | 196 |
* Returns this geometry's boundary rectangle. |
196 |
* |
|
197 |
* @deprecated use getEnvelope.
|
|
197 | 198 |
* @return Boundary rectangle. |
198 | 199 |
*/ |
199 | 200 |
public Rectangle2D getBounds2D(); |
201 |
public Envelope getEnvelope(); |
|
200 | 202 |
|
201 | 203 |
/** |
202 | 204 |
* Reprojects this geometry by the coordinate transformer passed as parameter. |
... | ... | |
250 | 252 |
* @return |
251 | 253 |
*/ |
252 | 254 |
public GeometryType getGeometryType(); |
253 |
|
|
255 |
|
|
254 | 256 |
/** |
255 | 257 |
* Get GeneralPathIterator, to do registered operations to it: |
256 | 258 |
*/ |
Also available in: Unified diff