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/arc/AbstractArc.java
AbstractArc.java | ||
---|---|---|
494 | 494 |
public boolean canBeReprojected(ICoordTrans ct) { |
495 | 495 |
return false; |
496 | 496 |
} |
497 |
|
|
497 |
|
|
498 |
@Override |
|
499 |
public Geometry force2D() throws GeometryOperationNotSupportedException, GeometryOperationException { |
|
500 |
Arc2D other = new Arc2D(); |
|
501 |
other.setProjection(this.getProjection()); |
|
502 |
Point clonedInit = (Point)init.force2D(); |
|
503 |
Point clonedMiddle = (Point)middle.force2D(); |
|
504 |
Point clonedEnd = (Point)end.force2D(); |
|
505 |
other.setPoints(clonedInit, clonedMiddle, clonedEnd); |
|
506 |
return other; |
|
507 |
} |
|
508 |
|
|
498 | 509 |
} |
Also available in: Unified diff