← All bug reports

FS#1213point of tangency precision error

Type
Bug
Status
Closed
Resolution
Won't fix
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.9.3
Operating system
Windows 7
Reported
2015-05-15 by ravas
Closed
2015-05-15 by andrew

- using the Polygon (2 points of side) tool create a triangle based on points 0,0 and 10,0
- using the 3 Tangents tool create the incircle of the triangle
- measure from each vertex to each point of tangency

Instead of getting 5 as a result for each you get either 4.99999993, 5.0000001 or 5.00000007.

Dongxu Li says:

"the problem is that inscribed circle is generated correct up to relative precision of 1e-8, while the tangential points are test at a precision level of 1e-10. Therefore, the inscribed circle actually intersects with one line."

https://github.com/LibreCAD/LibreCAD/issues/523

I have marked this as critical because I work with tangent circles a lot, and need these measurements to be accurate.

Closure comment

Precision error within expected range.