• Armin Le Grand's avatar
    tdf#88352 correct triangulator numerical problem · b701bd8c
    Armin Le Grand yazdı
    The basegfx Triangulator is used in slideshow with canvas to triangulate
    the mask geometres. This uses tools::isPointInTriangle which uses
    basegfx::tools::arePointsOnSameSideOfLine. This uses the cross product
    to solve and for tests against zero the fTools::equalZero call. The
    triangulator then uses the more precise rtl::math::approxEqual to test
    if one of the points of the triangle is equal to the test point.
    In rare cases this can lead to a position where a point is seen as inside
    the triangle wrongly because it is not detected as equal to one of the
    triangle points. To solve, use increased accuracy.
    
    Change-Id: I73e12b711f14d4c48e829d5db1cadefa0917c19b
    Reviewed-on: https://gerrit.libreoffice.org/19925Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
    b701bd8c
Adı
Son kayıt (commit)
Son güncelleme
..
inc/pch Loading commit data...
qa Loading commit data...
source Loading commit data...
test Loading commit data...
CppunitTest_basegfx.mk Loading commit data...
Library_basegfx.mk Loading commit data...
Makefile Loading commit data...
Module_basegfx.mk Loading commit data...
README Loading commit data...