Skip to content

Commit

Permalink
Add mesh doc
Browse files Browse the repository at this point in the history
  • Loading branch information
augustt198 committed Jul 17, 2024
1 parent e6d4c54 commit 866abae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hull.jl
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ end

abstract type AbstractHull{D, T, I} end

"""
GeometryBasics.Mesh(hull::Quickhull.AbstractHull)
Create a `Mesh` from the points and facets of `hull`.
"""
function GeometryBasics.Mesh(hull::AbstractHull)
GeometryBasics.Mesh(points(hull), facets(hull))
end
Expand Down

0 comments on commit 866abae

Please sign in to comment.