Revision 41590 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.geometry/org.gvsig.fmap.geometry.impl/src/main/java/org/gvsig/fmap/geom/impl/DefaultGeometryManager.java
DefaultGeometryManager.java | ||
---|---|---|
44 | 44 |
import org.gvsig.fmap.geom.SpatialIndex; |
45 | 45 |
import org.gvsig.fmap.geom.SpatialIndexFactory; |
46 | 46 |
import org.gvsig.fmap.geom.aggregate.MultiCurve; |
47 |
import org.gvsig.fmap.geom.aggregate.MultiPoint; |
|
47 | 48 |
import org.gvsig.fmap.geom.aggregate.MultiSurface; |
48 | 49 |
import org.gvsig.fmap.geom.exception.CreateEnvelopeException; |
49 | 50 |
import org.gvsig.fmap.geom.exception.CreateGeometryException; |
... | ... | |
731 | 732 |
} |
732 | 733 |
return new DefaultGeneralPathX(pathIterator); |
733 | 734 |
} |
735 |
|
|
736 |
public MultiPoint createMultiPoint(int subType) throws CreateGeometryException { |
|
737 |
return (MultiPoint) create(TYPES.MULTIPOINT, subType); |
|
738 |
} |
|
739 |
|
|
734 | 740 |
public Curve createCurve(int subType) throws CreateGeometryException { |
735 | 741 |
return (Curve) create(TYPES.CURVE, subType); |
736 | 742 |
} |
... | ... | |
785 | 791 |
public Service getService(DynObject parameters) throws ServiceException { |
786 | 792 |
return this.createSpatialIndex((String) parameters.getDynValue("serviceName"), parameters); |
787 | 793 |
} |
788 |
|
|
794 |
|
|
789 | 795 |
public class CantExistsService extends ServiceException { |
790 | 796 |
|
791 | 797 |
public CantExistsService(String serviceName) { |
Also available in: Unified diff