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

Fixes for blueprint::utils::ShapeType. #1218

Merged
merged 2 commits into from
Dec 22, 2023

Conversation

BradWhitlock
Copy link
Member

This PR includes some fixes for blueprint::utils::ShapeType so it can initialize from additional topology types. It also makes sure that the is_poly() method will return true only if the shape was initialized with polygonal or polyhedral shapes. The unstructured::generate_xxx functions now throw exceptions if their input topologies are not unstructured. I added tests for these changes.

This resolves #1217 .

@BradWhitlock BradWhitlock requested a review from cyrush December 21, 2023 01:27
Copy link
Member

@cyrush cyrush left a comment

Choose a reason for hiding this comment

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

thanks for fixing this @BradWhitlock

@BradWhitlock BradWhitlock merged commit 8934836 into develop Dec 22, 2023
25 checks passed
@BradWhitlock BradWhitlock deleted the bugfix/whitlock/shape_is_poly_wrong branch December 22, 2023 00:29
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.

Errors in blueprint::utils::ShapeType
2 participants