Revision 466 org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.lib/org.gvsig.vectorediting.lib.prov/org.gvsig.vectorediting.lib.prov.split/src/main/java/org/gvsig/vectorediting/lib/prov/split/SplitEditingProvider.java
SplitEditingProvider.java | ||
---|---|---|
211 | 211 |
Geometry intersection = geometry.intersection(curve); |
212 | 212 |
|
213 | 213 |
if (intersection == null |
214 |
|| (!intersection.getGeometryType() |
|
215 |
.isTypeOf(MULTIPOINT) && !intersection
|
|
216 |
.getGeometryType().isTypeOf(CURVE))) {
|
|
214 |
|| (!intersection.getGeometryType().isTypeOf(MULTIPOINT)
|
|
215 |
&& !intersection.getGeometryType().isTypeOf(CURVE)
|
|
216 |
&& !intersection.getGeometryType().isTypeOf(MULTICURVE))) {
|
|
217 | 217 |
throw new VectorEditingException(); |
218 | 218 |
} |
219 | 219 |
} |
Also available in: Unified diff