@@ -482,13 +482,12 @@ def transformed(self, transform):
482
482
483
483
def contains_point (self , point , transform = None , radius = 0.0 ):
484
484
"""
485
- Returns *True* if the path contains the given point.
485
+ Returns whether the (closed) path contains the given point.
486
486
487
- If *transform* is not * None* , the path will be transformed
488
- before performing the test.
487
+ If *transform* is not `` None`` , the path will be transformed before
488
+ performing the test.
489
489
490
- *radius* allows the path to be made slightly larger or
491
- smaller.
490
+ *radius* allows the path to be made slightly larger or smaller.
492
491
"""
493
492
if transform is not None :
494
493
transform = transform .frozen ()
@@ -503,14 +502,13 @@ def contains_point(self, point, transform=None, radius=0.0):
503
502
504
503
def contains_points (self , points , transform = None , radius = 0.0 ):
505
504
"""
506
- Returns a bool array which is * True* if the path contains the
507
- corresponding point.
505
+ Returns a bool array which is `` True`` if the (closed) path contains
506
+ the corresponding point.
508
507
509
- If *transform* is not * None* , the path will be transformed
510
- before performing the test.
508
+ If *transform* is not `` None`` , the path will be transformed before
509
+ performing the test.
511
510
512
- *radius* allows the path to be made slightly larger or
513
- smaller.
511
+ *radius* allows the path to be made slightly larger or smaller.
514
512
"""
515
513
if transform is not None :
516
514
transform = transform .frozen ()
@@ -519,10 +517,10 @@ def contains_points(self, points, transform=None, radius=0.0):
519
517
520
518
def contains_path (self , path , transform = None ):
521
519
"""
522
- Returns *True* if this path completely contains the given path.
520
+ Returns whether this (closed) path completely contains the given path.
523
521
524
- If *transform* is not * None* , the path will be transformed
525
- before performing the test.
522
+ If *transform* is not `` None`` , the path will be transformed before
523
+ performing the test.
526
524
"""
527
525
if transform is not None :
528
526
transform = transform .frozen ()
0 commit comments