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/spline/Spline2DM.java
Spline2DM.java | ||
---|---|---|
73 | 73 |
super(Geometry.TYPES.SPLINE, coordinates); |
74 | 74 |
} |
75 | 75 |
|
76 |
public Spline2DM(ArrayListCoordinateSequence coordinates) { |
|
77 |
super(Geometry.TYPES.SPLINE, coordinates); |
|
78 |
} |
|
79 |
|
|
76 | 80 |
@Override |
77 | 81 |
public OrientablePrimitive addVertex(double x, double y) { |
78 | 82 |
return this.addVertex(new Point2DM(x, y, 0)); |
... | ... | |
218 | 222 |
return false; |
219 | 223 |
} |
220 | 224 |
} |
225 |
|
|
226 |
@Override |
|
227 |
public Geometry force2DM() throws GeometryOperationNotSupportedException, GeometryOperationException { |
|
228 |
Geometry c = this.cloneGeometry(); |
|
229 |
return c; |
|
230 |
} |
|
221 | 231 |
} |
Also available in: Unified diff