| 17 | |
| 18 | ''Note:'' |
| 19 | It might make sense to try to maintain the geometric truisms when specifying the semantics around ''empty'' - ie. things like: |
| 20 | |
| 21 | * intersects( A, B ) => !disjoint( A, B ) |
| 22 | * A == B => intersects( A, B ) |
| 23 | * contains( A, B ) && contains( B, A ) => A == B |
| 24 | |
| 25 | If we don't maintain these we will probably need to complicate logical comparisons with special cases for ''empty'' - it may be the case that this is necessary, but it would be nice if it just 'came out in the wash'. |
| 26 | |
| 27 | This suggests to me that perhaps: |
| 28 | |
| 29 | * ST_Intersects( empty, empty ) == TRUE |
| 30 | * ST_Disjoint( empty, empty ) == FALSE |
| 31 | * ST_Distance( empty, empty) == 0 |
| 32 | * ST_DWithin( empty, empty, tolerance) == true |