Revision 44099 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/Arc2DZ.java
Arc2DZ.java | ||
---|---|---|
123 | 123 |
*/ |
124 | 124 |
public Point getCenterPoint() { |
125 | 125 |
((PointJTS) init).getJTS(); |
126 |
Point3D center = new Point3D(JTSUtils.getCircumcentre(init, middle, end)); |
|
126 |
Point3D center = new Point3D(this.getProjection(), JTSUtils.getCircumcentre(init, middle, end));
|
|
127 | 127 |
return center; |
128 | 128 |
} |
129 | 129 |
|
... | ... | |
210 | 210 |
Coordinate[] coordinates = getJTS().getCoordinates(); |
211 | 211 |
multiPoint.ensureCapacity(coordinates.length); |
212 | 212 |
for (int i = 0; i < coordinates.length; i++) { |
213 |
multiPoint.addPoint(new Point3D(coordinates[i])); |
|
213 |
multiPoint.addPoint(new Point3D(this.getProjection(), coordinates[i]));
|
|
214 | 214 |
} |
215 | 215 |
return multiPoint; |
216 | 216 |
} |
Also available in: Unified diff