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/surface/ellipticarc/AbstractEllipticArc.java
AbstractEllipticArc.java | ||
---|---|---|
398 | 398 |
this.angExt = angExt; |
399 | 399 |
} |
400 | 400 |
|
401 |
@Override |
|
402 |
public Geometry force2D() throws GeometryOperationNotSupportedException, GeometryOperationException { |
|
403 |
EllipticArc2D other = new EllipticArc2D(); |
|
404 |
Point axis1Start = (Point) this.axis1Start.force2D(); |
|
405 |
Point axis1End = (Point) this.axis1End.force2D(); |
|
406 |
other.setPoints(axis1Start, axis1End, semiAxis2Length, angSt, angExt); |
|
407 |
other.setProjection(this.getProjection()); |
|
408 |
return other; |
|
409 |
} |
|
410 |
|
|
411 |
|
|
401 | 412 |
/* (non-Javadoc) |
402 | 413 |
* @see org.gvsig.fmap.geom.primitive.Ellipse#getAxis1Start() |
403 | 414 |
*/ |
Also available in: Unified diff