Question: Implement a common base class for the classes implemented in 3 and 4 above which implements all common methods as not implemented functions (virtual). Re-implement
Implement a common base class for the classes implemented in 3 and 4 above which implements all common methods as not implemented functions (virtual). Re-implement those classes to inherit from the base class and overload the functions accordingly. Implement an analogous triangle class. Add a function to the object classes that tests if a given set of u and y coordinates are inside of the object. Add a function to the object classes that return a list of up to 16 pairs of r and y points on the parameter of the object. Add a function in the base class of the object classes that returns true/false testing that the object overlaps with another object.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
