Revision 23941 trunk/libraries/libDwg/src/com/iver/cit/jdwglib/dwg/readers/objreaders/v1314/DwgLwPolylineReader1314.java
DwgLwPolylineReader1314.java | ||
---|---|---|
123 | 123 |
l.setVertices(points); |
124 | 124 |
}//if np |
125 | 125 |
|
126 |
if(nb > 0){//file /14/orense-5.dwg launchs exceptions here (numBulges > 0) |
|
127 |
if (nb != np){ |
|
128 |
System.out.println("bulges != vertices: lanzamos una excepcion??"); |
|
129 |
} |
|
126 |
if(nb > 0){ |
|
130 | 127 |
double[] bulges = new double[nb]; |
131 | 128 |
for(int i = 0; i < nb; i++){ |
132 |
val = DwgUtil.getBitDouble(data, bitPos);
|
|
129 |
val = DwgUtil.getRawDouble(data, bitPos);
|
|
133 | 130 |
bitPos = ((Integer) val.get(0)).intValue(); |
134 | 131 |
bulges[i] = ((Double) val.get(1)).doubleValue(); |
135 | 132 |
}//for |
Also available in: Unified diff