@@ -577,7 +577,7 @@ def isparallel(self, l2, tol=10*_eps): # pylint: disable=no-self-argument
577
577
578
578
def __or__ (self , l2 ): # pylint: disable=no-self-argument
579
579
"""
580
- Test if lines are parallel as a binary operator
580
+ Overloaded ``|`` operator tests for parallelism
581
581
582
582
:param l1: First line
583
583
:type l1: Plucker
@@ -588,6 +588,9 @@ def __or__(self, l2): # pylint: disable=no-self-argument
588
588
589
589
``l1 | l2`` is an operator which is true if the two lines are parallel.
590
590
591
+
592
+ .. note:: The ``|`` operator has low precendence.
593
+
591
594
:seealso: Plucker.isparallel, Plucker.__xor__
592
595
"""
593
596
l1 = self
@@ -597,7 +600,7 @@ def __or__(self, l2): # pylint: disable=no-self-argument
597
600
def __xor__ (self , l2 ): # pylint: disable=no-self-argument
598
601
599
602
"""
600
- Test if lines intersect as a binary operator
603
+ Overloaded ``^`` operator tests for intersection
601
604
602
605
:param l1: First line
603
606
:type l1: Plucker
@@ -608,10 +611,11 @@ def __xor__(self, l2): # pylint: disable=no-self-argument
608
611
609
612
``l1 ^ l2`` is an operator which is true if the two lines intersect at a point.
610
613
611
- Notes:
612
-
613
- - Is false if the lines are equivalent since they would intersect at
614
- an infinite number of points.
614
+ .. note::
615
+
616
+ - The ``^`` operator has low precendence.
617
+ - Is ``False`` if the lines are equivalent since they would intersect at
618
+ an infinite number of points.
615
619
616
620
:seealso: Plucker.intersects, Plucker.parallel
617
621
"""
0 commit comments