namespace Msp {
namespace Geometry {
+enum Coverage
+{
+ NO_COVERAGE,
+ PARTIAL_COVERAGE,
+ FULL_COVERAGE
+};
+
/**
Base class and interface for geometric shapes. Shapes may be bounded or
unbounded. They are always considered to be solid, i.e. have a distinct inside
virtual unsigned get_max_ray_intersections() const = 0;
virtual unsigned get_intersections(const Ray<T, D> &, SurfacePoint<T, D> *, unsigned) const = 0;
std::vector<SurfacePoint<T, D> > get_intersections(const Ray<T, D> &) const;
+ virtual Coverage get_coverage(const BoundingBox<T, D> &) const = 0;
};
template<typename T, unsigned D>