#ifndef TRIANGLE_H_
#define TRIANGLE_H_

#include "Shape.h"

class Triangle : public Shape {
  Point _vertices[3];
  public:
    Triangle(const Point& p1, const Point& p2, const Point& p3) {
      _vertices[0] = p1;
      _vertices[1] = p2;
      _vertices[2] = p3;
    }
    
    double area() const;
};
#endif /*TRIANGLE_H_*/
