Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug in ConvexHull when indices are used #2999

Merged

Conversation

taketwo
Copy link
Member

@taketwo taketwo commented Apr 15, 2019

qh_pointid contains indices into the indices_ vector, which in turn indices into input_ point cloud. Line 375 already "dereferenced" qh_pointid indices, such that hull_indices_ contains indices into the point cloud. Therefore, line 376 should not use indices_ anymore.

`qh_pointid` contains indices into the `indices_` vector, which in turn
indices into `input_` point cloud. Line 375 already "dereferenced"
`qh_pointid` indices, such that `hull_indices_` contains indices into
the point cloud. Therefore, line 376 should not use `indices_`
anymore.
@taketwo taketwo force-pushed the fix-qhull-indices branch from 7533c52 to 9d1884f Compare April 20, 2019 08:50
@SergioRAgostinho SergioRAgostinho merged commit ec0a676 into PointCloudLibrary:master Apr 22, 2019
@taketwo taketwo deleted the fix-qhull-indices branch April 24, 2019 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants