Changes in src/Shapes/Shape.hpp [c67c65:b94634]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Shapes/Shape.hpp
rc67c65 rb94634 19 19 20 20 #include "Shapes/ShapeExceptions.hpp" 21 #include "Shapes/ShapeType.hpp"22 21 23 22 #include <vector> … … 42 41 Vector getNormal(const Vector &point) const throw(NotOnSurfaceException); 43 42 44 Vector getCenter() const; 45 double getRadius() const; 46 double getVolume() const; 47 double getSurfaceArea() const; 48 49 LineSegmentSet getLineIntersections(const Line&) const; 43 LineSegmentSet getLineIntersections(const Line&); 50 44 std::vector<Vector> getHomogeneousPointsOnSurface(const size_t N) const; 51 std::vector<Vector> getHomogeneousPointsInVolume(const size_t N) const;52 45 53 46 Shape &operator=(const Shape& rhs); 54 47 55 bool operator==(const Shape &rhs) const;56 57 48 std::string toString() const; 58 enum ShapeType getType() const;59 60 49 protected: 61 50 impl_ptr getImpl() const;
Note:
See TracChangeset
for help on using the changeset viewer.