Revision 21308 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/primitive/AbstractPrimitive.java
AbstractPrimitive.java | ||
---|---|---|
16 | 16 |
import org.gvsig.fmap.geom.type.GeometryType; |
17 | 17 |
|
18 | 18 |
|
19 |
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
|
|
19 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
|
20 | 20 |
* |
21 | 21 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
22 | 22 |
* |
... | ... | |
38 | 38 |
* |
39 | 39 |
* Generalitat Valenciana |
40 | 40 |
* Conselleria d'Infraestructures i Transport |
41 |
* Av. Blasco Ib��ez, 50
|
|
41 |
* Av. Blasco Ib??ez, 50
|
|
42 | 42 |
* 46010 VALENCIA |
43 | 43 |
* SPAIN |
44 | 44 |
* |
... | ... | |
69 | 69 |
* |
70 | 70 |
*/ |
71 | 71 |
/** |
72 |
* @author Jorge Piera Llodr� (jorge.piera@iver.es)
|
|
72 |
* @author Jorge Piera Llodr? (jorge.piera@iver.es)
|
|
73 | 73 |
*/ |
74 | 74 |
public abstract class AbstractPrimitive implements Primitive, FShape, Serializable { |
75 | 75 |
private static final long serialVersionUID = 1L; |
... | ... | |
192 | 192 |
public abstract GeometryType getGeometryType(); |
193 | 193 |
|
194 | 194 |
/** |
195 |
* Invoca una operación.
|
|
195 |
* Invokes an operation.
|
|
196 | 196 |
* @param index |
197 | 197 |
* @return |
198 | 198 |
*/ |
199 | 199 |
public Object invokeOperation(int index, GeometryOperationContext ctx) throws GeometryOperationNotSupportedException, GeometryOperationException { |
200 |
return GeometryManager.getInstance().invokeOperation(index, this, ctx); |
|
201 |
//return getGeometryType().getGeometryOperation(index).invoke(this, ctx); |
|
200 |
return GeometryManager.getInstance().invokeOperation(index, this, ctx); |
|
202 | 201 |
} |
203 | 202 |
|
204 | 203 |
/** |
205 |
* |
|
206 | 204 |
* @return una de las ctes de FShape |
207 | 205 |
*/ |
208 | 206 |
public abstract int getShapeType(); |
Also available in: Unified diff