You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`Height`|`min`, `max`|True if the `node` is at a height of `[min..max]`. |
23
-
|`Inner`||True if the `node` is an inner node (i.e., can have children, `height > 0`). |
24
-
|`Leaf`||True if the `node` is a leaf node (i.e., cannot have children, `height == 0`). |
25
-
|`Offset`|`min`, `max`|True if the `node`'s offset is in `[min..max]`. |
22
+
|`Height`|`min`, `max`|`node`'s height is in `[min..max]`.|
23
+
|`Inner`||`node` is an inner node (i.e., can have children, `height > 0`).|
24
+
|`Leaf`||`node` is a leaf node (i.e., cannot have children, `height == 0`).|
25
+
|`Offset`|`min`, `max`|`node`'s offset is in `[min..max]`.|
26
26
27
27
Below you can find a binary tree diagram to illustrate when the different predicates return true.
28
28
@@ -86,13 +86,17 @@ These predicates evaluate a node based on its position relative to a target node
86
86
87
87
These predicates evaluate the physical intersection between a node and a given geometry.
88
88
89
+
<divclass="middle-align-table">
90
+
89
91
| Predicate | Diagram | Arguments | Description |
90
92
| --- | :---: | :---: | --- |
91
93
|`Contains`| <svgwidth="80"height="50"viewBox="0 0 80 50"xmlns="http://www.w3.org/2000/svg"><circlecx="40"cy="25"r="22"fill="#3b82f6"fill-opacity="0.2"stroke="#3b82f6"stroke-width="2"/><circlecx="40"cy="25"r="10"fill="#ef4444"fill-opacity="0.2"stroke="#ef4444"stroke-width="2"/><textx="40"y="28"font-size="10"text-anchor="middle"fill="currentColor">G</text><textx="40"y="12"font-size="10"text-anchor="middle"fill="#3b82f6">N</text></svg> |`geometry`| True if the `node` contains the `geometry`. |
92
94
|`Disjoint`| <svgwidth="80"height="50"viewBox="0 0 80 50"xmlns="http://www.w3.org/2000/svg"><circlecx="22"cy="25"r="15"fill="#3b82f6"fill-opacity="0.2"stroke="#3b82f6"stroke-width="2"/><circlecx="58"cy="25"r="15"fill="#ef4444"fill-opacity="0.2"stroke="#ef4444"stroke-width="2"/><textx="22"y="28"font-size="10"text-anchor="middle"fill="#3b82f6">N</text><textx="58"y="28"font-size="10"text-anchor="middle"fill="#ef4444">G</text></svg> |`geometry`| True if the `node` is disjoint from the `geometry`. |
93
95
|`Intersects`| <svgwidth="80"height="50"viewBox="0 0 80 50"xmlns="http://www.w3.org/2000/svg"><circlecx="30"cy="25"r="18"fill="#3b82f6"fill-opacity="0.2"stroke="#3b82f6"stroke-width="2"/><circlecx="50"cy="25"r="18"fill="#ef4444"fill-opacity="0.2"stroke="#ef4444"stroke-width="2"/><textx="23"y="28"font-size="10"text-anchor="middle"fill="#3b82f6">N</text><textx="57"y="28"font-size="10"text-anchor="middle"fill="#ef4444">G</text></svg> |`geometry`| True if the `node` intersects with the `geometry`. |
94
96
|`Inside`| <svgwidth="80"height="50"viewBox="0 0 80 50"xmlns="http://www.w3.org/2000/svg"><circlecx="40"cy="25"r="22"fill="#ef4444"fill-opacity="0.2"stroke="#ef4444"stroke-width="2"/><circlecx="40"cy="25"r="10"fill="#3b82f6"fill-opacity="0.2"stroke="#3b82f6"stroke-width="2"/><textx="40"y="28"font-size="10"text-anchor="middle"fill="currentColor">N</text><textx="40"y="12"font-size="10"text-anchor="middle"fill="#ef4444">G</text></svg> |`geometry`| True if the `node` is inside the `geometry`. |
0 commit comments