Click here to Skip to main content
15,877,487 members

Comments by kumn1d (Top 1 by date)

kumn1d 22-Jul-17 18:18pm View    
Everything works fine but I am now able to implement given below output. Please can u tell me how to implement four vertices . I am confused because I have only one Point center in my each class so I dont know how to find four vertices ?
cout << "\nThe four vertices of the first rectangle are: (clockwise from top-left)\n";
rectangle1->printFourVertices();

cout << "\nThe four vertices of the third rectangle are:\n";
rectangle3->printFourVertices();