30 for (
size_t i = 0; i < 3; i++) {
31 sum += pow(coords[i] -
m_pos[i], 2);
MDBoxMaskFunction(const Mantid::Kernel::V3D &pos, const double &radiusSquared)
bool isPointContained(const coord_t *coords) override
Is a point in MDimensions contained by this ImplicitFunction? If the point is bounded by ALL planes c...
Mantid::Kernel::V3D m_pos
An "ImplicitFunction" defining a hyper-cuboid-shaped region in N dimensions.
virtual bool isPointContained(const coord_t *coords)
Is a point in MDimensions contained by this ImplicitFunction? If the point is bounded by ALL planes c...
float coord_t
Typedef for the data type to use for coordinate axes in MD objects such as MDBox, MDEventWorkspace,...