You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/utils.jl
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1671,7 +1671,7 @@ end
1671
1671
Same as above but `inside`, `X` and `Y` and are vectors.
1672
1672
1673
1673
"""
1674
-
functioninPolygon!(inside::Vector{Bool}, PolyX::Vector{T}, PolyY::Vector{T}, x::Vector{T}, y::Vector{T}; fast=false) where T <:Real
1674
+
functioninPolygon!(inside::Vector{Bool}, PolyX::AbstractVector{T}, PolyY::AbstractVector{T}, x::Vector{T}, y::Vector{T}; fast=false) where T <:Real
1675
1675
if fast
1676
1676
for i =eachindex(x)
1677
1677
inside[i] =inPolyPointF(PolyX, PolyY, x[i], y[i])
@@ -1689,7 +1689,7 @@ end
1689
1689
Checks if a point given by x and y is in or on (both cases return true) a polygon given by PolyX and PolyY, iSteps and jSteps provide the connectivity between the polygon edges. This function should be used through inPolygon!().
1690
1690
1691
1691
"""
1692
-
functioninPolyPoint(PolyX::Vector{T}, PolyY::Vector{T}, x::T, y::T) where T <:Real
1692
+
functioninPolyPoint(PolyX::AbstractVector{T}, PolyY::AbstractVector{T}, x::T, y::T) where T <:Real
0 commit comments