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

may have some bug if in some rare cases #44

Open
uniwangwang opened this issue Jul 6, 2023 · 2 comments
Open

may have some bug if in some rare cases #44

uniwangwang opened this issue Jul 6, 2023 · 2 comments

Comments

@uniwangwang
Copy link

// edge swapped on the other side of the hull (rare); fix the halfedge reference
if ( hbl == INVALID_INDEX ) {
	std::size_t e = hull_start;
	do {
		if ( hull_tri[ e ] == bl ) {
			hull_tri[ e ] = a;
			break;
		}
		e = hull_next[ e ];

		//	add bug check 20230706 
		if ( e == hull_next[ e ] ) {
			break;
		}
		//	add bug check 20230706 

	} while ( e != hull_start );
}

may has bugs if input points in some rare cases

@maomao0220
Copy link

我也遇到了这个问题,请问您解决了吗?谢谢

@Quietliz
Copy link

@uniwangwang @delfrrr Do you know the cause?

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

No branches or pull requests

3 participants