Revision 23641 branches/v2_0_0_prep/libraries/libDwg/src/com/iver/cit/jdwglib/dwg/objects/DwgMText.java

View differences:

DwgMText.java
249 249
		return getInsertionPoint()[2];
250 250
	}
251 251

  
252
//	public IGeometry toFMapGeometry(boolean is3DFile) {
253
//		FPoint2D fPoint = null;
254
//		double[] p = getInsertionPoint();
255
//		if (is3DFile) {
256
//			fPoint = new FPoint3D(p[0], p[1], p[2]);
257
//		} else {
258
//			fPoint = new FPoint2D(p[0], p[1]);
259
//		}
260
//		return ShapeFactory.createGeometry(fPoint);
261
//	}
262

  
263 252
	public Geometry toFMapGeometry(boolean is3DFile) {
264 253
		GeometryFactory gFactory = GeometryManager.getInstance().getGeometryFactory();
265 254
		double[] p = getInsertionPoint();

Also available in: Unified diff