This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Indoor/geo/volume/BoundingVolume.h
2017-09-06 08:34:20 +02:00

19 lines
333 B
C++

#ifndef BOUNDINGVOLUME_H
#define BOUNDINGVOLUME_H
#include "../Point3.h"
class BoundingVolume {
public:
/** get the volume's size (something like m^3) */
virtual float getVolumeSize() const = 0;
/** does the volume contain the given point? */
virtual bool contains(const Point3 p) const = 0;
};
#endif // BOUNDINGVOLUME_H