Question: please answer in both java and python Q3: Figure 3 shows three types of spatial relationship (touching, overlap, and enclosure) between two rectangle. B B
please answer in both java and python
Q3: Figure 3 shows three types of spatial relationship (touching, overlap, and enclosure) between two rectangle. B B A A A B B touches A B overlaps with A B enclosed by A Figure 3: Spatial relationships between two rectangles Things to do: 1. Extend the functionality of the Rectangle class to support the evaluation of these three types of rela- tionships. 2. Develop a test program to exercise and validate computational procedures for each of these spatial relationships. 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
