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/circumference/Circumference2DZ.java
Circumference2DZ.java | ||
---|---|---|
82 | 82 |
public Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException { |
83 | 83 |
return new Circumference2DZ(((PointJTS)((PointJTS)center).cloneGeometry()), radius+distance); |
84 | 84 |
} |
85 |
|
|
86 |
@Override |
|
87 |
public Geometry force2D() throws GeometryOperationNotSupportedException, GeometryOperationException { |
|
88 |
Circumference c = new Circumference2D((Point) center.force2D(), radius); |
|
89 |
return c; |
|
90 |
} |
|
91 |
|
|
85 | 92 |
} |
Also available in: Unified diff