39 lines
1.0 KiB
C++
39 lines
1.0 KiB
C++
/*
|
||
* © Copyright 2014 – Urheberrechtshinweis
|
||
* Alle Rechte vorbehalten / All Rights Reserved
|
||
*
|
||
* Programmcode ist urheberrechtlich geschuetzt.
|
||
* Das Urheberrecht liegt, soweit nicht ausdruecklich anders gekennzeichnet, bei Frank Ebner.
|
||
* Keine Verwendung ohne explizite Genehmigung.
|
||
* (vgl. § 106 ff UrhG / § 97 UrhG)
|
||
*/
|
||
|
||
#ifndef BOUNDINGVOLUME_H
|
||
#define BOUNDINGVOLUME_H
|
||
|
||
#include "../Point3.h"
|
||
#include "../Ray3.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;
|
||
|
||
// /** does the volume contain the given volume? */
|
||
// virtual bool contains(const BoundingVolume& other) const = 0;
|
||
|
||
// /** does the volume intersect with the given ray? */
|
||
// virtual bool intersects(const Ray3& ray) const = 0;
|
||
|
||
// /** does the volume intersect with the given volume? */
|
||
// virtual bool intersects(const BoundingVolume& other) const = 0;
|
||
|
||
};
|
||
|
||
#endif // BOUNDINGVOLUME_H
|