Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 577 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 577 Bytes

rectangles

Overview

This project implements some algorithms to analyze relations between rectangles:

  • Intersection
  • Containment
  • Adjacency

project structure

Looking for future expansion of the project, a Shape class was created to allow different shapes to inherit its methods. Rectangle class extends Shapes and contains his own methods to validate relations with other shapes. Point class is used to build shapes.

prerequisites

  • Java 11
  • Junit-jupiter

how to run

Inside the src/main/java directory run:

javac Main.java
bash java Main