@@ -59,7 +59,7 @@ Features
5959Vector2
6060-------
6161
62- .. class: Vector2
62+ .. class :: Vector2
6363
6464Defines a simple two-dimensional, mutable vector.
6565
@@ -229,12 +229,12 @@ Example:
229229The named argument "degrees" or "radians" may be passed in to rotate
230230this vector by the specified amount in degrees (or radians),
231231respectively. If both are omitted, the first unnamed argument is
232- assummed to be the amount to rotate in radians.
232+ assumed to be the amount to rotate in radians.
233233
234234Additionally, the named argument "about" may be passed in to specify
235235about what the vector should be rotated. If omitted then the first
236236unconsumed unnamed argument is assumed to be the vector. If there are
237- no unconsumed unamed arguments then the origin is assumed.
237+ no unconsumed unnamed arguments then the origin is assumed.
238238
239239Examples:
240240
@@ -417,24 +417,24 @@ Defines an undirected two-dimensional line by an axis, a minimum and a maximum.
417417.. note ::
418418
419419 `min ` and `max ` are referring to nearness to negative and positive infinity,
420- respectively. The absolute value of `min ` may be larger than `max `.
420+ respectively. The absolute value of `min ` may be larger than that of `max `.
421421
422422.. note ::
423423
424- `AxisAlignedLine`s are an intermediary operation, so offsets should be baked
424+ AxisAlignedLines are an intermediary operation, so offsets should be baked
425425 into them.
426426
427- .. attribute AxisAlignedLine.axis
427+ .. attribute :: AxisAlignedLine.axis
428428
429429 `Vector2 ` the axis this line is along.
430430
431- .. attribute AxisAlignedLine.min
431+ .. attribute :: AxisAlignedLine.min
432432
433433 `numeric ` the number (closest to negative infinity) that is still on this
434434 line when walked along the axis. If negative, it may have a greater absolute
435435 value than max and implies walking in the opposite direction of the axis.
436436
437- .. attribute AxisAlignedLine.max
437+ .. attribute :: AxisAlignedLine.max
438438
439439 `numeric ` the number (closest to positive infinity) that is still on this
440440 line when walked along the axis. If negative, it may have a smaller absolute
@@ -446,16 +446,18 @@ Defines an undirected two-dimensional line by an axis, a minimum and a maximum.
446446 - **point1 ** - `numeric ` one point on this line
447447 - **point2 ** - `numeric ` a different point on this line
448448
449- Constructs an axis aligned line with the appropriate min and max.
449+ Construct an axis aligned line with the appropriate min and max.
450450
451451.. staticmethod :: AxisAlignedLine.intersects(line1, line2)
452452
453453 - **line1 ** - `AxisAlignedLine ` the first line
454454 - **line2 ** - `AxisAlignedLine ` the second line
455455 - **Return Value ** - `bool, bool ` touching, overlapping
456456
457- Determines if the two lines are touching and if they are, if
458- they are overlapping.
457+ Determine if the two lines are touching and if they are, if
458+ they are overlapping. Lines are touching if they share only
459+ one end point, whereas they are overlapping if they share
460+ infinitely many points.
459461
460462 .. note ::
461463
@@ -469,7 +471,7 @@ Defines an undirected two-dimensional line by an axis, a minimum and a maximum.
469471 - **line2 ** - `AxisAlignedLine ` the second line
470472 - **Return Value ** - `bool, numeric or None ` touching, mtv against 1
471473
472- Determines if the two lines are touching, and then returns the
474+ Determine if the two lines are touching, and then returns the
473475 minimum translation vector to move line 1 along axis. If the result
474476 is negative, it means line 1 should be moved in the opposite direction
475477 of the axis by the magnitude of the result.
@@ -484,11 +486,17 @@ Defines an undirected two-dimensional line by an axis, a minimum and a maximum.
484486
485487 - **line ** - `AxisAlignedLine ` the line
486488 - **point ** - `numeric ` the point
487- - **Return Value ** - `bool ` if point is contained (or an edge of) the line
489+ - **Return Value ** - `bool, bool ` if point is contained, if the point is an edge
488490
489- Determines if the line contains the specified point, which is assumed
491+ Determine if the line contains the specified point, which is assumed
490492 to be defined the same way as min and max.
491493
494+ Axis-Aligned Line (autogen)
495+ ---------------------------
496+
497+ .. autoclass :: pygorithm.geometry.AxisAlignedLine
498+ :members:
499+
492500Concave Polygon
493501---------------
494502
0 commit comments