• Georgia Gkioxari's avatar
    fix small face issue for ptmeshdist · 88f5d790
    Georgia Gkioxari authored
    Summary:
    Fix small face issue for point_mesh distance computation.
    
    The issue lies in the computation of `IsInsideTriangle` which is unstable and non-symmetrical when faces with small areas are given as input. This diff fixes the issue by returning `False` for `IsInsideTriangle` when small faces are given as input.
    
    Reviewed By: bottler
    
    Differential Revision: D29163052
    
    fbshipit-source-id: be297002f26b5e6eded9394fde00553a37406bee
    88f5d790
test_point_mesh_distance.py 33.8 KB