Revision 44612 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.geometry/org.gvsig.fmap.geometry.jts/src/main/java/org/gvsig/fmap/geom/jts/primitive/surface/circle/AbstractCircle.java

View differences:

AbstractCircle.java
28 28

  
29 29
import org.cresques.cts.CoordTransRuntimeException;
30 30
import org.cresques.cts.ICoordTrans;
31
import org.gvsig.fmap.geom.Geometry;
31 32

  
32 33
import org.gvsig.fmap.geom.GeometryLocator;
33 34
import org.gvsig.fmap.geom.exception.CreateGeometryException;
......
79 80
        this.setRadius(radius);
80 81
    }
81 82

  
83
    @Override
84
    public Geometry force2D() throws GeometryOperationNotSupportedException, GeometryOperationException {
85
        Circle2D other = new Circle2D((Point) center.force2D(), radius);
86
        other.setProjection(this.getProjection());
87
        return other;
88
    }
82 89

  
83 90
    /**
84 91
     * @param initialPoint

Also available in: Unified diff