Skip to content

Commit

Permalink
Update to Polyhedra v0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Apr 17, 2019
1 parent 9acb48d commit 9ad59fb
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 21 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Manifest.toml
25 changes: 25 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name = "QHull"
uuid = "a8468747-bd6f-53ef-9e5c-744dbc5c59e7"
repo = "https://github.com/JuliaPolyhedra/QHull.jl.git"
version = "0.1.0"

[deps]
Polyhedra = "67491407-f73d-577b-9b50-8179a7c68029"
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"

[compat]
Polyhedra = "0.5"
PyCall = "≥ 1.90"
julia = "1"

[extras]
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
JuMP = "4076af6c-e467-56ae-b986-b466b2749572"
GLPK = "60bf3e95-4087-53dc-ae20-288a0d20c6a6"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
GeometryTypes = "4d00f742-c7ba-57c2-abde-4428a4b178cb"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"

[targets]
test = ["Combinatorics", "GLPK", "Test", "JuMP", "GeometryTypes", "RecipesBase"]
5 changes: 0 additions & 5 deletions REQUIRE

This file was deleted.

9 changes: 0 additions & 9 deletions src/QHull.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,4 @@ function Base.show(io::IO, ::MIME"text/plain", ch::Chull)
println(io, ch.points[sort(ch.vertices[:, 1]), :])
end

using RecipesBase
@recipe function f(val::T) where T<:Chull
size(val.points, 2) > 2 && warning("Only the two first dimensions are plotted!")
x = val.points[val.vertices,:]
seriestype --> :shape
legend --> false
x[:,1], x[:,2]
end

end
4 changes: 0 additions & 4 deletions src/test.jl

This file was deleted.

2 changes: 0 additions & 2 deletions test/REQUIRE

This file was deleted.

2 changes: 1 addition & 1 deletion test/polyhedron.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ include(joinpath(polyhedra_test, "polyhedra.jl"))
@testset "Polyhedra tests" begin
polyhedratest(QHull.Library(lp_solver), ["jumpsimplex", "ex1", "infeasible", "nonfulldimensional",
"simplex", "permutahedron", "board", "issue48", "empty",
"orthantdecompose", "largedecompose"])
"orthantdecompose", "largedecompose", "recipe"])
end

0 comments on commit 9ad59fb

Please sign in to comment.