Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed May 13, 2024
1 parent 9b0ff96 commit d89b6b5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/methods/polygonize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ f
The implementation follows:
=#

abstract type PolygonizeMethod end
struct Pixels <: PolygonizeMethod end
struct Angled <: PolygonizeMethod end

"""
polygonize(A::AbstractMatrix{Bool}; minpoints=10)
polygonize(f, A::AbstractMatrix; minpoints=10)
Expand Down Expand Up @@ -112,7 +108,7 @@ polygonize(f::Base.Callable, xs::AbstractVector, ys::AbstractVector, A::Abstract
_polygonize(f, xs, ys, A; kw...)

function _polygonize(f, xs::AbstractVector{T}, ys::AbstractVector{T}, A::AbstractMatrix;
minpoints=10,
minpoints=0,
method::PolygonizeMethod=Pixels(),
) where T
# Define buffers for edges and rings
Expand Down

0 comments on commit d89b6b5

Please sign in to comment.