35 #ifndef AIMS_RESAMPLING_SAMPLABLE_SPHERE_H 36 #define AIMS_RESAMPLING_SAMPLABLE_SPHERE_H 51 return (vector - _center).norm2() <= _sqrradius;
63 _sqrradius( radius*radius )
SphereSamplable(const Point3df ¢er, float radius)
The virtual template class fo which samplable classes must inherit from.
Samplable()
The programmer should not call the constructor of an abstract base class.
virtual bool contains(AimsVector< float, 3 > &vector)
virtual ~SphereSamplable()