forked from geodmms/xdgnjobs

?? ?
2008-05-14 2631b9ee4a3625df1dc66926e8610f93c1ecd81f
xdgnjobs/ximple-dgnio/src/main/java/com/ximple/io/dgn7/LineElement.java
@@ -31,12 +31,12 @@
        endX = endX + (raw[23] & 0x0000ffff);
        double x    = Utility.ConverUnitToCoord(endX);
        double x    = Utility.converUnitToCoord(endX);
        int    endY = (int) ((raw[24] << 16) & 0xffff0000);
        endY = endY + (raw[25] & 0x0000ffff);
        double y = Utility.ConverUnitToCoord(endY);
        double y = Utility.converUnitToCoord(endY);
        return new Coordinate(x, y);
    }
@@ -57,12 +57,12 @@
        startX = startX + (raw[19] & 0x0000ffff);
        double x      = Utility.ConverUnitToCoord(startX);
        double x      = Utility.converUnitToCoord(startX);
        int    startY = (int) ((raw[20] << 16) & 0xffff0000);
        startY = startY + (raw[21] & 0x0000ffff);
        double y = Utility.ConverUnitToCoord(startY);
        double y = Utility.converUnitToCoord(startY);
        return new Coordinate(x, y);
    }