@@ -215,7 +215,7 @@ def _find_intersection_rects(cls, rect1, rect2, find_mtv = True):
215
215
Find the intersection between two rectangles.
216
216
217
217
Not intended for direct use. See
218
- :py:method :`.find_intersection`
218
+ :py:meth :`.find_intersection`
219
219
220
220
:param rect1: first rectangle
221
221
:type rect1: :class:`pygorithm.geometry.rect2.Rect2`
@@ -315,7 +315,7 @@ def _find_intersection_rect_poly(cls, rect, poly, offset, find_mtv = True):
315
315
Find the intersection between a rect and polygon.
316
316
317
317
Not intended for direct use. See
318
- :py:method :`.find_intersection`
318
+ :py:meth :`.find_intersection`
319
319
320
320
:param rect: rectangle
321
321
:type rect: :class:`pygorithm.geometry.rect2.Rect2`
@@ -336,7 +336,7 @@ def _find_intersection_poly_rect(cls, poly, offset, rect, find_mtv = True):
336
336
Find the intersection between a polygon and rect.
337
337
338
338
Not intended for direct use. See
339
- :py:method :~`pygorithm.geometry.rect2.Rect2.find_intersection`
339
+ :py:meth :~`pygorithm.geometry.rect2.Rect2.find_intersection`
340
340
341
341
:param poly: polygon
342
342
:type poly: :class:`pygorithm.geometry.polygon2.Polygon2`
@@ -377,7 +377,7 @@ def find_intersection(cls, *args, **kwargs):
377
377
False, the first argument is assumed to be a Polygon2. If you want to
378
378
use a compatible rectangle class for which this check would fail, you
379
379
can call
380
- :py:method :`._find_intersection_rect_poly`
380
+ :py:meth :`._find_intersection_rect_poly`
381
381
directly or pass the polygon first and invert the resulting mtv (if
382
382
one is found). If two unnamed arguments are provided, they are assumed
383
383
to be both rects without further checks.
0 commit comments