C/C++ code for calculating angles between of N intersections of linear equations - repost
₹12500-37500 INR
Cancelled
Posted over 10 years ago
₹12500-37500 INR
Paid on delivery
For a given number of intersections calculate the angle between the two intersecting lines. Also create an object which adds angle data to the existing line / intersections data.
You will receive as INPUT:
- N number of linear equations (somewhere between 10 and 100). Note that lines with slope greater than a threshold amount will be input as X = constant.
- The intersections between all lines
- A hash number to represent each line
You should provide as OUTPUT:
- The angle between each intersection. This should be added to an object, using the above hash as the object key, which adds parameters to each intersection.