Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/Shapes/Shape.hpp

    rb94634 rc67c65  
    1919
    2020#include "Shapes/ShapeExceptions.hpp"
     21#include "Shapes/ShapeType.hpp"
    2122
    2223#include <vector>
     
    4142  Vector getNormal(const Vector &point) const throw(NotOnSurfaceException);
    4243
    43   LineSegmentSet getLineIntersections(const Line&);
     44  Vector getCenter() const;
     45  double getRadius() const;
     46  double getVolume() const;
     47  double getSurfaceArea() const;
     48
     49  LineSegmentSet getLineIntersections(const Line&) const;
    4450  std::vector<Vector> getHomogeneousPointsOnSurface(const size_t N) const;
     51  std::vector<Vector> getHomogeneousPointsInVolume(const size_t N) const;
    4552
    4653  Shape &operator=(const Shape& rhs);
    4754
     55  bool operator==(const Shape &rhs) const;
     56
    4857  std::string toString() const;
     58  enum ShapeType getType() const;
     59
    4960protected:
    5061  impl_ptr getImpl() const;
Note: See TracChangeset for help on using the changeset viewer.