SpatialProbeSpatial Inspection

Spatial Inspection

The boundary rule changes two of four answers

Use exact fictional coordinates on a plane with x increasing rightward and y increasing upward. Define a rectangle with horizontal limits two and six and vertical limits one and four. Examine P at (3,2), Q at (6,2), R at (2,4) and S at (1,2). First include every boundary. Then use a half-open rule that includes the left and bottom edges but excludes the right and top edges. Apply the same rule to all four points before comparing results.

Points against a closed rectangle in the SpatialProbe boundary worksheetClosed: 2 ≤ x ≤ 6 and 1 ≤ y ≤ 4P (3,2)Q (6,2)R (2,4)S (1,2)Included: P · Q · RS is outside the horizontal range

01

Apply both coordinate comparisons to each point

Under the closed rule, x must be at least two and at most six, while y must be at least one and at most four. P satisfies both conditions and lies inside. Q is included on the right edge, and R is included on the top-left corner. S fails the horizontal condition because its x coordinate is one, so it is outside even though its y coordinate is within range. Both axes must satisfy their conditions. Checking only the vertical range would incorrectly include S and conceal the purpose of the rectangular region.

Exclude the upper bounds in the SpatialProbe boundary worksheetHalf-open: 2 ≤ x < 6 and 1 ≤ y < 4P included · S still outsideQ excluded: x equals 6R excluded: y equals 4Left and bottom included · right and top excluded

02

Change only the upper-bound inclusion rule

Under the half-open rule, x is at least two but less than six, and y is at least one but less than four. P remains included. Q is now excluded because its x coordinate equals six. R is excluded because its y coordinate equals four, even though its x coordinate equals the included left boundary. S remains outside. The included set changes from P, Q and R to P alone. These differences follow from the declared comparisons; they do not indicate that any point moved or that one of the diagrams was drawn incorrectly.

Assign the shared edge to one cell in the SpatialProbe boundary worksheetAdjacent horizontal rangesFirst: 2 ≤ x < 6 · second: 6 ≤ x < 10Both use 1 ≤ y < 4Q (6,2) belongs only to the secondThe shared edge has one assignment here

03

Use adjacent cells to explain unique assignment

Add a second half-open rectangle whose horizontal range starts at six and ends before ten, with the same vertical range from one inclusive to four exclusive. Q at (6,2) belongs to this second rectangle and not the first. Their shared vertical boundary therefore has a single assignment for that point. A worksheet should save both bounds, the inclusion convention, point coordinates and the comparison that determines each result. Outer edges of a larger partition may need an additional policy. State that policy separately rather than assuming the example has already assigned every possible position.

spatialprobe.com

Explore SpatialProbe

Held for potential development. Acquisition inquiries may be considered.

Domain options ↗