Geometry-Calculation-using-OOP-Python

Object Oriented Programming classes to handle the following scenarios:

  • A user can create and view 2D coordinates
  • A user can find out the distance between 2 coordinates
  • A user can find the distance of a coordinate from Origin
  • A user can check if a point lies on a given line
  • A user can find the distance between a given 2D point and a given line
  • Find the intersection point of any given Two Lines
  • Check if any two given lines intersect each other
  • Calculate area of a Rectangle and its Perimeter
  • Calculate area of a Triangle