Skip to content

Add PointToTriangleDistanceSquare which computes the distance more robustly#401

Open
hongkai-dai wants to merge 1 commit into
flexible-collision-library:masterfrom
hongkai-dai:point_to_triangle_dist2
Open

Add PointToTriangleDistanceSquare which computes the distance more robustly#401
hongkai-dai wants to merge 1 commit into
flexible-collision-library:masterfrom
hongkai-dai:point_to_triangle_dist2

Conversation

@hongkai-dai

@hongkai-dai hongkai-dai commented May 8, 2019

Copy link
Copy Markdown
Contributor

Resolves #399


This change is Reviewable

@SeanCurtis-TRI SeanCurtis-TRI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 2 files reviewed, all discussions resolved


include/fcl/narrowphase/detail/convexity_based_algorithm/gjk_libccd-inl.h, line 231 at r1 (raw file):

}

_ccd_inline ccd_real_t PointToTriangleDistanceSquared(const ccd_vec3_t& P,

BTW It would be really good to have some unit tests on this function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Box box collision incorrectly calls EPA

2 participants