39 cx::cxSyntheticVolume(dimensions)
42 mRadius = 0.6 *
mBounds.array().minCoeff()/2;
47 std::cout << QString(
"Volume: Sphere, bounds=[%1], C=[%2], R=[%3]")
63 if ((p - mCenter).norm() < mRadius)
QString qstring_cast(const T &val)
void setSphere(const cx::Vector3D ¢er, double radius)
virtual void printInfo() const
SphereSyntheticVolume(cx::Vector3D bounds)
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
virtual unsigned char evaluate(const cx::Vector3D &p) const