Changes between Version 14 and Version 15 of BufferRobustness
- Timestamp:
- Dec 6, 2011, 2:18:03 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BufferRobustness
v14 v15 28 28 = Noding = 29 29 30 Having detected a difference in noding I've produced a testcase to read a geometry and perform noding on its linework. 31 The JTS version is [attachment:ScaledNoderTest.java] 32 30 33 The image below shows difference between GEOS (yellow) and JTS (cyan) noding results with [attachment:bufrob4.wkt] input. 31 34 There are two nodes in both version, only JTS is anchoring the line going down to the node on the left while GEOS is anchoring it to the node on the right. … … 38 41 diffnoding.gz contains the offsetcurve produced by both GEOS and JTS with reduction scale 1e5 and distance 1.01 against input. [[BR]] 39 42 The curve, passed to [source:trunk/src/operation/buffer/BufferBuilder.cpp#L507 BufferBuilder::computeNodedEdges], results in edges with a differently computed _depth_ between JTS and GEOS. 40 41 Further reducing the input and the applied code I got to bufrob3.wkt giving a different number of noded edges between JTS (333) and GEOS (330). This is when using ScaledNoder with scale of 1e5 and underlying MCIndexSnapRounder noder.42 43 I'm also attaching the JTS unit test which I'm using to compare GEOS/JTS runs. The test reads WKT from a file.44