User Activity

  • Posted a comment on ticket #180 on Clipper

    After analyzing the bug with our numerical tools, we believe the bug can be fixed by changing the code in DistanceFromLineSqrd() as follows: (about line 4339 of clipper.cpp) -- double C = A * ln1.X + B * ln1.Y; ++ double C = double(ln2.X) * ln1.Y - double(ln2.Y) * ln1.X; Although the fixed expression is mathematically equivalent to the original expression, they yield different outputs in floating-point values. When A == double(ln1.Y - ln2.Y) && B == double(ln2.X - ln1.X), the fixed expression get...

  • Created ticket #184 on Clipper

    a Numerical bug in the function Area

  • Created ticket #180 on Clipper

    Numerical Error when calling CleanPolygon

View All

Personal Data

Username:
brushington
Joined:
2007-03-06 16:26:34
Location:
Nanjing / China / CST
Gender:
Male
Web Site:
  1. http://software.nju.edu.cn/eytang

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB