33template<
typename Shape>
44 for (
int i = 0; i < dim; ++i) {
45 m_shape.m_elem[i] = 0;
47 m_shape.m_valid =
true;
A fake class which documents the generic parts of the WFMath interface.
Definition shape.h:57
Utility class for providing zero primitives. This class will only work with simple structures such as...
Definition zero.h:35
const Shape & getShape() const
Gets the zeroed shape.
Definition zero.h:53
ZeroPrimitive(int dim)
Ctor. An instance of Shape with zero values will be created at construction time.
Definition zero.h:42
Generic library namespace.
Definition atlasconv.h:45