jbuckmccready / cavalier_contours

2D polyline/shape library for offsetting, combining, etc.
Apache License 2.0
145 stars 12 forks source link

one more data combination #43

Open tredecimguttatus opened 1 month ago

tredecimguttatus commented 1 month ago

Hello again! Could you please take a look on this data combination: { "name": "new_pline", "isClosed": true, "Area": 0.696441, "vertexes": [ [8.6284200000000002006572686, 23.3550000000000004263256415, 0.4142135623730941462738997], [7.5199999999999995736743585, 22.2465800000000015756995708, 0.9999999999999998889776975], [7.9199999999999999289457264, 22.2465800000000015756995708, -0.4142135623730950344523194], [8.6284200000000002006572686, 22.9550000000000018474111130, 0.9999999999999998889776975] ] } { "name": "existing_pline", "isClosed": true, "Area": 4.65621, "vertexes": [ [8.4284199999999991348431649, 22.9550000000000018474111130, 0.0000000000000000000000000], [10.1775000000000002131628207, 22.9550000000000018474111130, 1.0000000000000000000000000], [10.1775000000000002131628207, 23.3550000000000004263256415, 0.0000000000000000000000000], [8.4284199999999991348431649, 23.3550000000000004263256415, 0.4142135623730941462738997], [7.3199999999999993960386746, 22.2465800000000015756995708, 0.0023624850393199510467657], [7.3200000000000002842170943, 22.2446899999999985197973729, 0.0000000000000000000000000], [7.3200000000000002842170943, 17.0041299999999999670308171, 1.0000000000000000000000000], [7.9199999999999999289457264, 17.0041299999999999670308171, 0.0000000000000000000000000], [7.9199999999999999289457264, 22.2446899999999985197973729, 0.2691108888045321556603540], [7.7688725235674729319157450, 22.5051453161804388969358115, -0.3085627603572850263802252] ] }

In my tests AND operation gives empty result.

Best regards and thank you!

tredecimguttatus commented 1 month ago

Same behavior with this data: { "name": "new_pline", "isClosed": true, "Area": 0.423432, "vertexes": [ [8.2403336305855354737559537, 14.1310557569651162879154072, -0.1985766769786142249554217], [8.6374908031966342036866990, 13.1792913886347413665589556, 0.9999999999999998889776975], [8.9374892043454892132103851, 13.1802708313996888023211795, 0.1985766769786142249554217], [8.4520466996040077845009364, 14.3436059308224432840006557, 0.9999999999999998889776975] ] } { "name": "existing_pline", "isClosed": true, "Area": 5.2566, "vertexes": [ [7.3500000000000067501559897, 17.0041307396791552264403435, 0.0000000000000000000000000], [7.3500000000000005329070518, 22.2446899999999985197973729, -0.9999999999999998889776975], [7.8899999999999987920773492, 22.2446899999999985197973729, 0.0000000000000000000000000], [7.8899999999999987920773492, 17.0041307079105514787897846, 0.1988663791924149271128641], [8.8334451068637953596862644, 14.7258826263267970091419556, 0.9999999999999998889776975], [9.0456146753027901752375328, 14.9379771199573738726940064, -0.1988663791924147050682592], [8.1899999999999995026200850, 17.0041307079105514787897846, 0.0000000000000000000000000], [8.1899999999999995026200850, 22.2446899999999985197973729, 0.9999999999999998889776975], [7.0499999999999998223643161, 22.2446899999999985197973729, 0.0000000000000000000000000], [7.0500000001476115230047981, 17.0041240852449924148004357, 0.1989124184629735558882402], [8.2401288742655527386204994, 14.1312601005776325990836995, 0.9999999999999998889776975], [8.4522514559239905196363907, 14.3434015872099269728323634, -0.1989124184629735558882402] ] }