HOMEWORK 2 Solution

$35.00 $29.00

I found a really great computational geometry library that stores circles and rectangle in a very particular way–by keeping up with the points representing each object. I require additional functionality for a project and am tasking you with the development of the library. I have included a couple tests demonstrating the interfaces. You should definitely…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Description

5/5 – (2 votes)

I found a really great computational geometry library that stores circles and rectangle in a very particular way–by keeping up with the points representing each object.

I require additional functionality for a project and am tasking you with the development of the library.

I have included a couple tests demonstrating the interfaces. You should definitely extend these tests. I will. You will also find a comp geo header (.h) and source file (.cc). I provide those as an interface specifi-cation. YOU are responsible for files you edit.

The following functions should be implemented:

  • CalcCircumference 1 point

  • CalcCircleArea 1 point

  • CalcPerimeter 1 point

  • CalcRectangleArea 1 point

  • CalcDistanceSquared 1 point

  • CalcDistance 1 point

  • PointsEqual 1 point

The functions’ descriptions can be found by reading the header.

Late assignments will lose 25% per day late, with no assignment begin accepted after 4 days (100% re-duction in points).

You will receive points for each test passed and one point for successful compilation against the test comp geo.cc file for a total of eight (8) points. Check your syllabus for further breakdown of grading.

HOMEWORK 2 Solution
$35.00 $29.00