Convenience class for procedural linear arrays in cartesian coordinates. More...
#include <UniformCartesianArray.hpp>
Convenience class for procedural linear arrays in cartesian coordinates.
Fiber::UniformCartesianArray::UniformCartesianArray | ( | const Eagle::point3 & | start, | |
const MultiIndex< 3 > & | dims, | |||
const Eagle::point3 & | end, | |||
const MemBase::Creator_t & | C = MemCore::NullPtr() | |||
) | throw (const Exception&) [inline] |
Construct a uniform cartesian array from corner coordinates.
Note: dims must be larger than two in each dimension, we must have at least two points here to cover a volume, otherwise it's all nuts.
Fiber::UniformCartesianArray::UniformCartesianArray | ( | const Eagle::BoundingBox & | BBox, | |
const MultiIndex< 3 > & | dims, | |||
const MemBase::Creator_t & | C = MemCore::NullPtr() | |||
) | throw (const Exception&) [inline] |
Construct a uniform cartesian array from bounding box.
Note: dims must be larger than two in each dimension, we must have at least two points here to cover a volume, otherwise it's all nuts.
Fiber::UniformCartesianArray::UniformCartesianArray | ( | const MultiIndex< 3 > & | dims, | |
const Eagle::point3 & | start, | |||
const Eagle::point3 & | delta, | |||
const MemBase::Creator_t & | C = MemCore::NullPtr() | |||
) | [inline] |
Construct a uniform cartesian array from origin point and the first point of the one grid cell diagonally across.
Same as using a tangential vector for expressing the cell size.