Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Shapes/Shape.hpp

    r205d9b rc6f395  
    1010
    1111#include <boost/shared_ptr.hpp>
     12#include <iosfwd>
     13
     14#include "Exceptions/NotOnSurfaceException.hpp"
    1215
    1316class Vector;
    1417class Shape_impl;
     18class LineSegmentSet;
     19class Line;
    1520
    1621class Shape
     
    2530
    2631  bool isInside(const Vector &point) const;
     32  bool isOnSurface(const Vector &point) const;
     33  Vector getNormal(const Vector &point) const throw(NotOnSurfaceException);
     34
     35  LineSegmentSet getLineIntersections(const Line&);
    2736
    2837  Shape &operator=(const Shape& rhs);
    2938
     39  std::string toString() const;
    3040protected:
    3141  impl_ptr getImpl() const;
     
    4252Shape operator!(const Shape&);
    4353
     54std::ostream &operator<<(std::ostream&,const Shape&);
     55
    4456#endif /* SHAPE_HPP_ */
Note: See TracChangeset for help on using the changeset viewer.