Changes between Version 14 and Version 15 of BufferRobustness


Ignore:
Timestamp:
Dec 6, 2011, 2:18:03 AM (12 years ago)
Author:
strk
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BufferRobustness

    v14 v15  
    2828= Noding =
    2929
     30Having detected a difference in noding I've produced a testcase to read a geometry and perform noding on its linework.
     31The JTS version is [attachment:ScaledNoderTest.java]
     32
    3033The image below shows difference between GEOS (yellow) and JTS (cyan) noding results with [attachment:bufrob4.wkt] input.
    3134There 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.
     
    3841diffnoding.gz contains the offsetcurve produced by both GEOS and JTS with reduction scale 1e5 and distance 1.01 against input. [[BR]]
    3942The 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