Almost every shape needs these, so it's not worth it to try and avoid
unnecessary headers in the base class.
#include <stdexcept>
#include <vector>
#include <stdexcept>
#include <vector>
-#include "boundingbox.h"
#include "shape.h"
namespace Msp {
#include "shape.h"
namespace Msp {
#ifndef MSP_GEOMETRY_HALFSPACE_H_
#define MSP_GEOMETRY_HALFSPACE_H_
#ifndef MSP_GEOMETRY_HALFSPACE_H_
#define MSP_GEOMETRY_HALFSPACE_H_
-#include "boundingbox.h"
#include "shape.h"
namespace Msp {
#include "shape.h"
namespace Msp {
#include <cmath>
#include <stdexcept>
#include <msp/linal/vector.h>
#include <cmath>
#include <stdexcept>
#include <msp/linal/vector.h>
-#include "boundingbox.h"
-#include "ray.h"
-#include "surfacepoint.h"
namespace Msp {
namespace Geometry {
namespace Msp {
namespace Geometry {
#include <cmath>
#include <stdexcept>
#include <msp/linal/vector.h>
#include <cmath>
#include <stdexcept>
#include <msp/linal/vector.h>
-#include "boundingbox.h"
-#include "ray.h"
-#include "surfacepoint.h"
namespace Msp {
namespace Geometry {
namespace Msp {
namespace Geometry {
#ifndef MSP_GEOMETRY_NEGATION_H_
#define MSP_GEOMETRY_NEGATION_H_
#ifndef MSP_GEOMETRY_NEGATION_H_
#define MSP_GEOMETRY_NEGATION_H_
-#include "boundingbox.h"
#include "shape.h"
namespace Msp {
#include "shape.h"
namespace Msp {
#include <vector>
#include <msp/linal/vector.h>
#include <vector>
#include <msp/linal/vector.h>
+#include "boundingbox.h"
+#include "ray.h"
+#include "surfacepoint.h"
namespace Msp {
namespace Geometry {
namespace Msp {
namespace Geometry {
-template<typename T, unsigned D>
-class BoundingBox;
-
-template<typename T, unsigned D>
-class Ray;
-
-template<typename T, unsigned D>
-class SurfacePoint;
-
/**
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
/**
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
#define MSP_GEOMETRY_TRANSFORMEDSHAPE_H_
#include "affinetransformation.h"
#define MSP_GEOMETRY_TRANSFORMEDSHAPE_H_
#include "affinetransformation.h"
-#include "boundingbox.h"
-#include "ray.h"
#include "shape.h"
namespace Msp {
#include "shape.h"
namespace Msp {