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/curve/periellipse/PeriEllipse2DZ.java

View differences:

PeriEllipse2DZ.java
106 106
        clonedEllipse.setPoints(clonedAxis1Start, clonedAxis1End, clonedYDist);
107 107
        return clonedEllipse;
108 108
    }
109
 
110
    @Override
111
    public Geometry force2D() throws GeometryOperationNotSupportedException, GeometryOperationException {
112
        PeriEllipse2D other = new PeriEllipse2D();
113
        other.setProjection(this.getProjection());
114
        other.setPoints((Point)init.force2D(), (Point)end.force2D(), ydist);
115
        return other;
116
    }
109 117

  
118

  
110 119
}

Also available in: Unified diff