Skip to content

Commit dd0607f

Browse files
committed
add binary convex_hull method to API module
1 parent 249c523 commit dd0607f

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

docs/src/lib/API.md

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ translate!(::LazySet, ::AbstractVector)
8484

8585
```@docs
8686
cartesian_product(::LazySet, ::LazySet)
87+
convex_hull(::LazySet, ::LazySet)
8788
difference(::LazySet, ::LazySet)
8889
distance(::LazySet, ::LazySet)
8990
exact_sum(::LazySet, ::LazySet)

src/API/API.jl

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ include("Mixed/translate!.jl")
8080
include("Mixed/translate.jl")
8181

8282
include("Binary/cartesian_product.jl")
83+
include("Binary/convex_hull.jl")
8384
include("Binary/difference.jl")
8485
include("Binary/distance.jl")
8586
include("Binary/exact_sum.jl")

src/API/Binary/convex_hull.jl

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"""
2+
convex_hull(X::LazySet, Y::LazySet)
3+
4+
Compute the convex hull of (the union of) two sets.
5+
6+
### Input
7+
8+
- `X` -- set
9+
- `Y` -- set
10+
11+
### Output
12+
13+
A set representing the convex hull of ``X ∪ Y``.
14+
15+
### Notes
16+
17+
See [`convex_hull(::LazySet)`](@ref) for the convex hull of a single set.
18+
"""
19+
function convex_hull(::LazySet, ::LazySet) end

0 commit comments

Comments
 (0)