Skip to content

Commit 2b17638

Browse files
committed
Pass manifold through point_filled_curve_orientation in planar
1 parent 8601ec5 commit 2b17638

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/methods/geom_relations/geom_geom_processors.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ of the curve if it didn't return 'on'.
491491
See paper for more information on cases denoted in comments.
492492
=#
493493
function _point_filled_curve_orientation(
494-
point, curve;
494+
::Planar, point, curve;
495495
in::T = point_in, on::T = point_on, out::T = point_out, exact,
496496
) where {T}
497497
x, y = GI.x(point), GI.y(point)
@@ -526,6 +526,11 @@ function _point_filled_curve_orientation(
526526
return iseven(k) ? out : in
527527
end
528528

529+
_point_filled_curve_orientation(
530+
point, curve;
531+
in::T = point_in, on::T = point_on, out::T = point_out, exact,
532+
) where {T} = _point_filled_curve_orientation(Planar(), point, curve; in, on, out, exact)
533+
529534
#=
530535
Determines the types of interactions of a line with a filled-in curve. By
531536
filled-in curve, I am referring to the exterior ring of a poylgon, for example.

0 commit comments

Comments
 (0)