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

Inclusion check for box in union of boxes #2989

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

schillic
Copy link
Member

@schillic schillic commented Jul 7, 2022

using LazySets, Plots

B1 = Hyperrectangle([0.0, 0], [1.0, 1])
B2 = Hyperrectangle([0.5, 1.5], [0.5, 1.5])
B3 = Hyperrectangle([0.0, 1], [0.5, 2])
U = UnionSetArray([B1, B2, B3])
H = Hyperrectangle([0.2, 1], [0.7, 1])

plot(U)
plot!(H)

julia> H  U
true

example

@schillic schillic force-pushed the schillic/inclusion_hyperrectangle branch 4 times, most recently from e5e8b52 to bbc7b40 Compare July 7, 2022 13:40
@schillic schillic requested a review from mforets July 7, 2022 17:03
@schillic schillic force-pushed the schillic/inclusion_hyperrectangle branch from bbc7b40 to 0fdf056 Compare July 13, 2022 07:43
@schillic schillic merged commit f9c2b3d into master Jul 14, 2022
@schillic schillic deleted the schillic/inclusion_hyperrectangle branch July 14, 2022 20:34
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.

2 participants