mirror of https://github.com/django/django.git
Fixed #33721 -- Added DE-9IM link in GEOS docs.
This commit is contained in:
parent
0dd2920909
commit
1be9585d73
|
@ -410,7 +410,7 @@ return a boolean.
|
||||||
The ``covers`` predicate has the following equivalent definitions:
|
The ``covers`` predicate has the following equivalent definitions:
|
||||||
|
|
||||||
* Every point of the other geometry is a point of this geometry.
|
* Every point of the other geometry is a point of this geometry.
|
||||||
* The DE-9IM Intersection Matrix for the two geometries is
|
* The `DE-9IM`_ Intersection Matrix for the two geometries is
|
||||||
``T*****FF*``, ``*T****FF*``, ``***T**FF*``, or ``****T*FF*``.
|
``T*****FF*``, ``*T****FF*``, ``***T**FF*``, or ``****T*FF*``.
|
||||||
|
|
||||||
If either geometry is empty, returns ``False``.
|
If either geometry is empty, returns ``False``.
|
||||||
|
@ -423,6 +423,8 @@ return a boolean.
|
||||||
added benefit, ``covers()`` is more amenable to optimization and hence
|
added benefit, ``covers()`` is more amenable to optimization and hence
|
||||||
should outperform :meth:`~GEOSGeometry.contains`.
|
should outperform :meth:`~GEOSGeometry.contains`.
|
||||||
|
|
||||||
|
.. _DE-9IM: https://en.wikipedia.org/wiki/DE-9IM
|
||||||
|
|
||||||
.. method:: GEOSGeometry.crosses(other)
|
.. method:: GEOSGeometry.crosses(other)
|
||||||
|
|
||||||
Returns ``True`` if the DE-9IM intersection matrix for the two Geometries
|
Returns ``True`` if the DE-9IM intersection matrix for the two Geometries
|
||||||
|
|
Loading…
Reference in New Issue