26 throw std::invalid_argument(
"MDImplicitFunction::addPlane(): cannot add "
27 "a plane with different number of dimensions "
28 "as the previous ones.");
void addPlane(const MDPlane &plane)
Add a bounded plane to this implicit function.
size_t m_numPlanes
Cached number of planes (for a sligh speed-up)
MDImplicitFunction()
Constructor.
std::vector< MDPlane > m_planes
Vector of all the planes applying for this implict function.
size_t m_nd
number of dimensions for which this object can be applied
A generalized description of a N-dimensional hyperplane.
size_t getNumDims() const