|
FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
|
A one-dimensional linear array, i.e. More...
#include <CoordinateAxisArray.hpp>
Public Member Functions | |
| CoordinateAxisArray (index_t max_idx) | |
| CoordinateAxisArray (CoordinateAxisArray &Src) | |
| CoordinateAxisArray (const T &C0, const T &C1, index_t max_idx) | |
| Create a procedural array of equidistant values. | |
| T | operator() (index_t i) const |
| The element access function. | |
| double | reverse (const T &value) const |
| Compute the floating point index that corresponds to the given coordinate value. | |
| index_t | Length () const |
| Return the length of the array in terms of points covered. | |
Public Member Functions inherited from MemCore::Chunk< T > | |
| const base_vector_type & | base_vector () const override |
| base_vector_type & | base_vector () override |
| Chunk (const Filler &, const T &FillValue, size_t N=1) | |
| Chunk (const std::string &buffer) | |
| Chunk (const std::vector< T > &SourceValues) | |
| Chunk (size_t N, bool ReserveOnly=false) | |
| T * | operator() () |
Public Member Functions inherited from MemCore::TypedChunk< typename T > | |
| std::vector< T > & | get_vector () |
| const std::vector< T > & | get_vector () const |
Public Attributes | |
| index_t | length |
A one-dimensional linear array, i.e.
the coordinate expression is linear.
|
inline |
Create a procedural array of equidistant values.
To create an LinearArray<double> going from a=-3.4 to b=5.6 in a resolution of r=15 steps:
|
inline |
Return the length of the array in terms of points covered.
This is not the length in terms of data stored here.
|
inline |
Compute the floating point index that corresponds to the given coordinate value.
If there is no delta, then always yield the 0th coordinate index.