forked from geodmms/xdgnjobs

?? ?
2008-05-14 2631b9ee4a3625df1dc66926e8610f93c1ecd81f
xdgnjobs/ximple-dgnio/src/main/java/com/ximple/io/dgn7/LineStringElement.java
@@ -106,12 +106,12 @@
        x += (int) (raw[20 + (4 * index)] & 0x0000ffff);
        return Utility.ConverUnitToCoord(x);
        return Utility.converUnitToCoord(x);
    }
    protected void setX(int index, double dx)
    {
        int newVal = Utility.ConverCoordToUnit(dx);
        int newVal = Utility.converCoordToUnit(dx);
        raw[19 + (4 * index)] = (short) (newVal >> 16 & 0x0000ffff);
        raw[20 + (4 * index)] = (short) (newVal & 0x0000ffff);
@@ -128,12 +128,12 @@
        y = y + (int) (raw[22 + (4 * index)] & 0x0000ffff);
        return Utility.ConverUnitToCoord(y);
        return Utility.converUnitToCoord(y);
    }
    protected void setY(int index, double dy)
    {
        int newVal = Utility.ConverCoordToUnit(dy);
        int newVal = Utility.converCoordToUnit(dy);
        raw[21 + (4 * index)] = (short) ((newVal >> 16) & 0x0000ffff);
        raw[22 + (4 * index)] = (short) (newVal & 0x0000ffff);