@@ -48,7 +48,7 @@ def __init__(self, axis, point1, point2):
48
48
Construct an axis aligned line with the appropriate min and max.
49
49
50
50
:param axis: axis this line is on
51
- :type axis: :class:`pygorithm.geometry.Vector2`
51
+ :type axis: :class:`pygorithm.geometry.vector2. Vector2`
52
52
:param point1: one point on this line
53
53
:type point1: :class:`numbers.Number`
54
54
:param point2: a different point on this line
@@ -74,9 +74,9 @@ def intersects(line1, line2):
74
74
the same operations.
75
75
76
76
:param line1: the first line
77
- :type line1: :class:`pygorithm.geometry.AxisAlignedLine`
77
+ :type line1: :class:`pygorithm.geometry.axisall. AxisAlignedLine`
78
78
:param line2: the second line
79
- :type line2: :class:`pygorithm.geometry.AxisAlignedLine`
79
+ :type line2: :class:`pygorithm.geometry.axisall. AxisAlignedLine`
80
80
:returns: touching, overlapping
81
81
:rtype: bool, bool
82
82
"""
@@ -101,9 +101,9 @@ def find_intersection(line1, line2):
101
101
102
102
103
103
:param line1: the first line
104
- :type line1: :class:`pygorithm.geometry.AxisAlignedLine`
104
+ :type line1: :class:`pygorithm.geometry.axisall. AxisAlignedLine`
105
105
:param line2: the second line
106
- :type line2: :class:`pygorithm.geometry.AxisAlignedLine`
106
+ :type line2: :class:`pygorithm.geometry.axisall. AxisAlignedLine`
107
107
:returns: touching, mtv against 1
108
108
:rtype: bool, :class:`numbers.Number` or None
109
109
"""
@@ -122,7 +122,7 @@ def contains_point(line, point):
122
122
It is not possible for both returned booleans to be `True`.
123
123
124
124
:param line: the line
125
- :type line: :class:`pygorithm.geometry.AxisAlignedLine`
125
+ :type line: :class:`pygorithm.geometry.axisall. AxisAlignedLine`
126
126
:param point: the point
127
127
:type point: :class:`numbers.Number`
128
128
:returns: if the point is an edge of the line, if the point is contained by the line
0 commit comments