Dongxu Li

Results 279 comments of Dongxu Li

The issue is caused by pen manipulation of RS_Insert member entities, so deleted entities are drawn with the pen of normal entities. I'm not sure whether this should be fixed...

@sand1024 , Would you like to get this one?

1. Area of non-manifold is tricky for our algorithm which is based on Green's theorem; 2. The 90 degree section trouble is a separate bug which should been fixed in...

60817734 fixes cases E/F/G in [20221108_LibreCAD_Area_wrong.zip](https://github.com/LibreCAD/LibreCAD/files/9962295/20221108_LibreCAD_Area_wrong.zip) Case C is harder: The main reason, LibreCAD doesn't have a topology layer yet. It means LibreCAD couldn't reliably determine which area is the...

looks like v3 is not using Green's theorem: [Region::Area()](https://github.com/LibreCAD/LibreCAD_3/blob/master/lckernel/cad/geometry/georegion.cpp#LL122C1-L123C1) v3 relies on approximate area integration. In comparison, v2 is attempting to find the exact area (up to rounding off errors)....

Given closed contour loops, topological relation can be figured out: if there's no intersection (tangential points not considered yet) between loops. I will give it a try. V3 chose to...

Add a test case: [hatch1.zip](https://github.com/LibreCAD/LibreCAD/files/12061078/hatch1.zip)

Add another test case: [hatch3.dxf.zip](https://github.com/LibreCAD/LibreCAD/files/12326501/hatch3.dxf.zip)