Skip to content

Commit 59c6a0e

Browse files
authored
Merge pull request #166 from piever/pv/signatures
simplify snip signature
2 parents c72a072 + 196c25e commit 59c6a0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/triangulation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function Base.in(P::T, triangle::Triangle) where {T<:AbstractPoint}
8585
return ((a_bp >= t0) && (b_cp >= t0) && (c_ap >= t0))
8686
end
8787

88-
function snip(contour::AbstractVector{<:AbstractPoint{N,T}}, u, v, w, n, V) where {N,T}
88+
function snip(contour::AbstractVector{<:AbstractPoint}, u, v, w, n, V)
8989
A = contour[V[u]]
9090
B = contour[V[v]]
9191
C = contour[V[w]]
@@ -105,7 +105,7 @@ function snip(contour::AbstractVector{<:AbstractPoint{N,T}}, u, v, w, n, V) wher
105105
end
106106

107107
"""
108-
decompose(facetype, contour::AbstractArray{AbstractPoint})
108+
decompose(facetype, contour::AbstractArray{<:AbstractPoint})
109109
110110
Triangulate a Polygon without hole.
111111

0 commit comments

Comments
 (0)