Revision 45673 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/point/Point2D.java
Point2D.java | ||
---|---|---|
267 | 267 |
} |
268 | 268 |
return true; |
269 | 269 |
} |
270 |
|
|
271 |
@Override |
|
272 |
public Point force3D() { |
|
273 |
Point3D p = new Point3D(this.getProjection(), this.coordinate.x, this.coordinate.y, 0); |
|
274 |
return p; |
|
275 |
} |
|
270 | 276 |
|
277 |
@Override |
|
278 |
public Point force2DM() { |
|
279 |
Point2DM p = new Point2DM(this.getProjection(), this.coordinate.x, this.coordinate.y, 0); |
|
280 |
return p; |
|
281 |
} |
|
282 |
|
|
283 |
@Override |
|
284 |
public Point force3DM() { |
|
285 |
Point3DM p = new Point3DM(this.getProjection(), this.coordinate.x, this.coordinate.y, 0, 0); |
|
286 |
return p; |
|
287 |
} |
|
271 | 288 |
} |
Also available in: Unified diff