#include <MDBoxMaskFunction.h>
|
| virtual bool | isPointContained (const coord_t *coords) |
| | Is a point in MDimensions contained by this ImplicitFunction? If the point is bounded by ALL planes contained, then this returns true.
|
| |
| bool | isPointContained (const coord_t *coords) override |
| | Is a point in MDimensions contained by this ImplicitFunction? If the point is bounded by ALL planes contained, then this returns true.
|
| |
| virtual bool | isPointContained (const Mantid::Kernel::VMD &coords) |
| | Is a point in MDimensions contained by this ImplicitFunction? If the point is bounded by ALL planes contained, then this returns true.
|
| |
| virtual bool | isPointContained (const std::vector< coord_t > &coords) |
| | Is a point in MDimensions contained by this ImplicitFunction? If the point is bounded by ALL planes contained, then this returns true.
|
| |
| | MDBoxMaskFunction (const Mantid::Kernel::V3D &pos, const double &radiusSquared) |
| |
| void | addPlane (const MDPlane &plane) |
| | Add a bounded plane to this implicit function.
|
| |
| eContact | boxContact (const coord_t *vertexes, const size_t numPoints) const |
| | Determine how a box (consisting of a number of vertexes) is in contact with the implicit function.
|
| |
| virtual std::string | getName () const |
| |
| size_t | getNumDims () const |
| |
| size_t | getNumPlanes () const |
| |
| const MDPlane & | getPlane (size_t index) const |
| |
| bool | isBoxTouching (const coord_t *vertexes, const size_t numPoints) |
| | Same as isBoxTouching(vector), except that it takes a bare array of coordinates.
|
| |
| bool | isBoxTouching (const std::vector< std::vector< coord_t > > &vertexes) |
| | Is there a chance that the box defined by these vertexes touches the implicit function volume?
|
| |
| | MDImplicitFunction () |
| | Constructor.
|
| |
| virtual std::string | toXMLString () const |
| |
| virtual | ~MDImplicitFunction ()=default |
| |
|
| enum | eContact { NOT_TOUCHING = 0
, TOUCHING = 1
, CONTAINED = 2
} |
| | Enum for describing the contact between a box and an implicit function. More...
|
| |
| size_t | m_nd |
| | number of dimensions for which this object can be applied
|
| |
| size_t | m_numPlanes |
| | Cached number of planes (for a sligh speed-up)
|
| |
| std::vector< MDPlane > | m_planes |
| | Vector of all the planes applying for this implict function.
|
| |
Definition at line 16 of file MDBoxMaskFunction.h.
◆ MDBoxMaskFunction()
| Mantid::Geometry::MDAlgorithms::MDBoxMaskFunction::MDBoxMaskFunction |
( |
const Mantid::Kernel::V3D & |
pos, |
|
|
const double & |
radiusSquared |
|
) |
| |
|
inline |
◆ isPointContained() [1/4]
| virtual bool Mantid::Geometry::MDImplicitFunction::isPointContained |
( |
const coord_t * |
coords | ) |
|
|
inlinevirtual |
Is a point in MDimensions contained by this ImplicitFunction? If the point is bounded by ALL planes contained, then this returns true.
- Parameters
-
| coords | :: nd-sized array of coordinates |
- Returns
- true if it is contained in the implicit function.
Reimplemented from Mantid::Geometry::MDImplicitFunction.
Definition at line 94 of file MDImplicitFunction.h.
◆ isPointContained() [2/4]
| bool Mantid::Geometry::MDAlgorithms::MDBoxMaskFunction::isPointContained |
( |
const coord_t * |
coords | ) |
|
|
inlineoverridevirtual |
Is a point in MDimensions contained by this ImplicitFunction? If the point is bounded by ALL planes contained, then this returns true.
- Parameters
-
| coords | :: nd-sized array of coordinates |
- Returns
- true if it is contained in the implicit function.
Reimplemented from Mantid::Geometry::MDImplicitFunction.
Definition at line 28 of file MDBoxMaskFunction.h.
References m_pos, and m_radiusSquared.
◆ isPointContained() [3/4]
| virtual bool Mantid::Geometry::MDImplicitFunction::isPointContained |
( |
const Mantid::Kernel::VMD & |
coords | ) |
|
|
inlinevirtual |
Is a point in MDimensions contained by this ImplicitFunction? If the point is bounded by ALL planes contained, then this returns true.
- Parameters
-
| coords | :: nd-sized array of coordinates |
- Returns
- true if it is contained in the implicit function.
Reimplemented from Mantid::Geometry::MDImplicitFunction.
Definition at line 110 of file MDImplicitFunction.h.
◆ isPointContained() [4/4]
| virtual bool Mantid::Geometry::MDImplicitFunction::isPointContained |
( |
const std::vector< coord_t > & |
coords | ) |
|
|
inlinevirtual |
Is a point in MDimensions contained by this ImplicitFunction? If the point is bounded by ALL planes contained, then this returns true.
- Parameters
-
| coords | :: nd-sized vector of coordinates. No size-check is made! |
- Returns
- true if it is contained in the implicit function.
Reimplemented from Mantid::Geometry::MDImplicitFunction.
Definition at line 126 of file MDImplicitFunction.h.
◆ m_pos
◆ m_radiusSquared
| double Mantid::Geometry::MDAlgorithms::MDBoxMaskFunction::m_radiusSquared |
|
private |
The documentation for this class was generated from the following file: