C++ project

Closed - This job posting has been filled and work has been completed.
Fixed Price
Deliver by - May 29, 2014
15
Budget

Details

Classes Point, Line, Triangle. Class Point has private integer members that represent x and y coordinates. Class Line has two Class Point members that represent the endpoints of a line. Class Triangle has three Class Point members that represent the three vertices of a triangle.
Final product is a program that takes input from the user to specify a pyramid with one triangle as the base and the vertex at some distance from the center of the triangle. The program shall output the coordinates of the vertices of this pyramid, the coordinates and the area of the triangle, coordinates of the each line and the volume.

setter,getters,tostring and constructor
triangle.h(holds all the header prototype)
point.cpp       private x and private y
line.cpp          instance variable two class point(point.cpp) member the endpoints of a line
Triangle.cpp     three Class Point members that represent the three vertices of a triangle.
pyramid.cpp (application /driver class) -
one triangle as the base and the vertex at some distance from the center of the triangle. The program shall output the coordinates of the vertices of this pyramid, the coordinates and the area of the triangle, coordinates of the each line and the volume.