adonmo / meos

Mobility Engine, Open Source
https://adonmo.github.io/meos/
MIT License
21 stars 3 forks source link

Implement Relative Position Operators for Box Types #29

Open chaitan94 opened 4 years ago

chaitan94 commented 4 years ago

• <<: Are the X values of the first bounding box strictly less than those of the second one? • >>: Are the X values of the first bounding box strictly greater than those of the second one? • &<: Are the X values of the first bounding box not greater than those of the second one? • &>: Are the X values of the first bounding box not less than those of the second one? • <<: Are the X values of the first bounding box strictly to the left of those of the second one? • >>: Are the X values of the first bounding box strictly to the right of those of the second one? • &<: Are the X values of the first bounding box not to the right of those of the second one? • &>: Are the X values of the first bounding box not to the left of those of the second one? • <<|: Are the Y values of the first bounding box strictly below of those of the second one? • |>>: Are the Y values of the first bounding box strictly above of those of the second one? • &<|: Are the Y values of the first bounding box not above of those of the second one? • |&>: Are the Y values of the first bounding box not below of those of the second one? • <</: Are the Z values of the first bounding box strictly in front of those of the second one? • />>: Are the Z values of the first bounding box strictly back of those of the second one? • &</: Are the Z values of the first bounding box not back of those of the second one? • /&>: Are the Z values of the first bounding box not in front of those of the second one? • <<#: Are the T values of the first bounding box strictly before those of the second one? • #>>: Are the T values of the first bounding box strictly after those of the second one? • &<#: Are the T values of the first bounding box not after those of the second one? • #&>: Are the T values of the first bounding box not before those of the second one?

Invalid operations should throw accordingly

Refer MobilityDB docs for more information: https://docs.mobilitydb.com/MobilityDB/master/ch04s10.html

Todo Checklist