Revision 47432 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
125 125
        return other;
126 126
    }
127 127

  
128
    @Override
129
    public Geometry force2DM() throws GeometryOperationNotSupportedException, GeometryOperationException {
130
        PeriEllipse2DM other = new PeriEllipse2DM();
131
        other.setProjection(this.getProjection());
132
        other.setPoints((Point)init.force2DM(), (Point)end.force2DM(), ydist);
133
        return other;
134
    }
135
    
136
    @Override
137
    public Geometry force3D() throws GeometryOperationNotSupportedException, GeometryOperationException {
138
        Geometry c = this.cloneGeometry();
139
        return c;
140
    }
128 141

  
142
    @Override
143
    public Geometry force3DM() throws GeometryOperationNotSupportedException, GeometryOperationException {
144
        PeriEllipse2DZM other = new PeriEllipse2DZM();
145
        other.setProjection(this.getProjection());
146
        other.setPoints((Point)init.force3DM(), (Point)end.force3DM(), ydist);
147
        return other;
148
    }
149
    
150

  
129 151
}

Also available in: Unified diff