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/surface/circle/AbstractCircle.java
AbstractCircle.java | ||
---|---|---|
85 | 85 |
return other; |
86 | 86 |
} |
87 | 87 |
|
88 |
@Override |
|
89 |
public Geometry force2DM() throws GeometryOperationNotSupportedException, GeometryOperationException { |
|
90 |
Circle2DM other = new Circle2DM((Point) center.force2DM(), radius); |
|
91 |
other.setProjection(this.getProjection()); |
|
92 |
return other; |
|
93 |
} |
|
94 |
|
|
95 |
@Override |
|
96 |
public Geometry force3D() throws GeometryOperationNotSupportedException, GeometryOperationException { |
|
97 |
Circle2DZ other = new Circle2DZ((Point) center.force3D(), radius); |
|
98 |
other.setProjection(this.getProjection()); |
|
99 |
return other; |
|
100 |
} |
|
101 |
|
|
102 |
@Override |
|
103 |
public Geometry force3DM() throws GeometryOperationNotSupportedException, GeometryOperationException { |
|
104 |
Circle2DZM other = new Circle2DZM((Point) center.force3DM(), radius); |
|
105 |
other.setProjection(this.getProjection()); |
|
106 |
return other; |
|
107 |
} |
|
108 |
|
|
109 |
|
|
88 | 110 |
/** |
89 | 111 |
* @param point |
90 | 112 |
* @return |
Also available in: Unified diff