Fix a bug related to a change in JTS API. Tag version 2.0.1
This commit is contained in:
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.openjump</groupId>
|
<groupId>org.openjump</groupId>
|
||||||
<artifactId>dxf-driver</artifactId>
|
<artifactId>dxf-driver</artifactId>
|
||||||
<version>2.0.0</version>
|
<version>2.0.1</version>
|
||||||
<name>dxf-driver</name>
|
<name>dxf-driver</name>
|
||||||
<description>Driver for dxf file format</description>
|
<description>Driver for dxf file format</description>
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ import com.vividsolutions.jump.workbench.plugin.PlugInContext;
|
|||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
*/
|
*/
|
||||||
// History
|
// History
|
||||||
|
// 2.0.1 (2022-09-24) : * fix a bug related to a change in JTS API
|
||||||
// 2.0.0 (2021-08-22) : * version number alignment with OpenJUMP's
|
// 2.0.0 (2021-08-22) : * version number alignment with OpenJUMP's
|
||||||
// 1.0.0 (2021-04-11) : * refactoring for OpenJUMP 2, JTS 1.18
|
// 1.0.0 (2021-04-11) : * refactoring for OpenJUMP 2, JTS 1.18
|
||||||
// 0.9.0 (2018-06-02) : * fix a regression preventing export of MultiPolygons
|
// 0.9.0 (2018-06-02) : * fix a regression preventing export of MultiPolygons
|
||||||
|
@ -85,7 +85,7 @@ public class DxfLWPOLYLINE extends DxfENTITY {
|
|||||||
else if (code==20) {
|
else if (code==20) {
|
||||||
if (coord != null) {
|
if (coord != null) {
|
||||||
coord.y = group.getDoubleValue();
|
coord.y = group.getDoubleValue();
|
||||||
coordList.add(new Coordinate(x, y, z));
|
coordList.add(new Coordinate(x, y, z), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//else {}
|
//else {}
|
||||||
|
@ -56,7 +56,7 @@ public class DxfVERTEX extends DxfENTITY {
|
|||||||
}
|
}
|
||||||
if (!Double.isNaN(x) && !Double.isNaN(y)) {
|
if (!Double.isNaN(x) && !Double.isNaN(y)) {
|
||||||
if (DxfFile.DEBUG) System.out.println(" " + new Coordinate(x,y,z));
|
if (DxfFile.DEBUG) System.out.println(" " + new Coordinate(x,y,z));
|
||||||
coordList.add(new Coordinate(x,y,z));
|
coordList.add(new Coordinate(x,y,z), true);
|
||||||
}
|
}
|
||||||
return group;
|
return group;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user