blob: c6e9e986b840ca72ea1b3fa7c98c3561353aba82 (
plain) (
tree)
|
|
/******************************************************************/
/* This file is part of the homework assignments for CSCI-427/527 */
/* at The College of William & Mary and authored by Pieter Peers. */
/* No part of this file, whether altered or in original form, can */
/* be distributed or used outside the context of CSCI-427/527 */
/* without consent of either the College of William & Mary or */
/* Pieter Peers. */
/******************************************************************/
#ifndef _INTERSECTOR_FACTORY_BASE_H_
#define _INTERSECTOR_FACTORY_BASE_H_
#include <memory>
#include "boundedCompound.h"
#include "intersector_base.h"
class intersector_factory_base {
public:
/////////////////
// Constructor //
/////////////////
intersector_factory_base(void) {}
//////////////
// Operator //
//////////////
virtual std::unique_ptr<const intersector_base> operator()(const boundedCompound& bc) const = 0;
};
#endif /* _INTERSECTOR_FACTORY_BASE_H_ */
|