|
| | Coords () |
| | Empty constructor.
|
| |
| | Coords (const Base &v) |
| | Copy constructor Constructs from anit Coords.
|
| |
| | Coords (const int v[dim]) |
| | Constructor from C array.
|
| |
| | Coords (int v) |
| | Constructor with constant value.
|
| |
| | Coords (int x, int y) |
| | 2D alias.
|
| |
| | Coords (int x, int y, int z) |
| | 3D alias.
|
| |
| size_t | prod () const |
| | Product of coordinates.
|
| |
| | FVector () |
| | Empty constructor.
|
| |
| | FVector () |
| | Empty constructor.
|
| |
| | FVector (const FArray< T2, dim > &a) |
| | Copy constructor.
|
| |
| | FVector (const FArray< T2, dim > &a) |
| | Copy constructor.
|
| |
| | FVector (const int &v) |
| | Constructor with constant value.
|
| |
| | FVector (const int &v) |
| | Constructor with constant value.
|
| |
| | FVector (const T2 t[dim]) |
| | Constructor from C array.
|
| |
| | FVector (const T2 t[dim]) |
| | Constructor from C array.
|
| |
| | FVector (int x, int y) |
| | 2D alias.
|
| |
| | FVector (int x, int y) |
| | 2D alias.
|
| |
| | FVector (int x, int y, int z) |
| | 3D alias.
|
| |
| | FVector (int x, int y, int z) |
| | 3D alias.
|
| |
| FVector & | fill (const int &v) |
| | Filling.
|
| |
| FVector & | fill (const int &v) |
| | Filling.
|
| |
| FVector & | normalize () |
| | Euclidean in-place normalization.
|
| |
| FVector & | normalize () |
| | Euclidean in-place normalization.
|
| |
| int | operator* (const FVector &v) const |
| | Scalar product.
|
| |
| int | operator* (const FVector &v) const |
| | Scalar product.
|
| |
| FVector | operator* (int s) const |
| | Scalar multiplication.
|
| |
| FVector | operator* (int s) const |
| | Scalar multiplication.
|
| |
| FVector & | operator*= (int s) |
| | Scalar in place multiplication.
|
| |
| FVector & | operator*= (int s) |
| | Scalar in place multiplication.
|
| |
| FVector | operator+ (const FVector &v) const |
| | Addition.
|
| |
| FVector | operator+ (const FVector &v) const |
| | Addition.
|
| |
| FVector | operator+ (int s) const |
| | Scalar Addition.
|
| |
| FVector | operator+ (int s) const |
| | Scalar Addition.
|
| |
| FVector & | operator+= (const FVector &v) |
| | In place Addition.
|
| |
| FVector & | operator+= (const FVector &v) |
| | In place Addition.
|
| |
| FVector & | operator+= (int s) |
| | Scalar in place Addition.
|
| |
| FVector & | operator+= (int s) |
| | Scalar in place Addition.
|
| |
| FVector | operator- () const |
| | Opposite.
|
| |
| FVector | operator- () const |
| | Opposite.
|
| |
| FVector | operator- (const FVector &v) const |
| | Substraction.
|
| |
| FVector | operator- (const FVector &v) const |
| | Substraction.
|
| |
| FVector | operator- (int s) const |
| | Scalar Substraction.
|
| |
| FVector | operator- (int s) const |
| | Scalar Substraction.
|
| |
| FVector & | operator-= (const FVector &v) |
| | In place Substraction.
|
| |
| FVector & | operator-= (const FVector &v) |
| | In place Substraction.
|
| |
| FVector & | operator-= (int s) |
| | Scalar in place substractrion.
|
| |
| FVector & | operator-= (int s) |
| | Scalar in place substractrion.
|
| |
| FVector | operator/ (int s) const |
| | Scalar division.
|
| |
| FVector | operator/ (int s) const |
| | Scalar division.
|
| |
| FVector & | operator/= (int s) |
| | Scalar in place division.
|
| |
| FVector & | operator/= (int s) |
| | Scalar in place division.
|
| |
| FVector & | operator= (const FArray< T2, dim > &b) |
| | Assignment.
|
| |
| FVector & | operator= (const FArray< T2, dim > &b) |
| | Assignment.
|
| |
| int | operator^ (const FVector< int, 2 > &v) const |
| | 2D cross product.
|
| |
| int | operator^ (const FVector< int, 2 > &v) const |
| | 2D cross product.
|
| |
| FVector< int, 3 > | operator^ (const FVector< int, 3 > &v) const |
| | 3D cross product.
|
| |
| FVector< int, 3 > | operator^ (const FVector< int, 3 > &v) const |
| | 3D cross product.
|
| |
| int & | x () |
| | Write alias.
|
| |
| int & | x () |
| | Write alias.
|
| |
| const int & | x () const |
| | Read alias.
|
| |
| const int & | x () const |
| | Read alias.
|
| |
| int & | y () |
| | Write alias.
|
| |
| int & | y () |
| | Write alias.
|
| |
| const int & | y () const |
| | Read alias.
|
| |
| const int & | y () const |
| | Read alias.
|
| |
| int & | z () |
| | Write alias.
|
| |
| int & | z () |
| | Write alias.
|
| |
| const int & | z () const |
| | Read alias.
|
| |
| const int & | z () const |
| | Read alias.
|
| |
| | FArray () |
| | Empty constructor.
|
| |
| template<typename T2> |
| | FArray (const FArray< T2, S > &a) |
| | Copy constructor.
|
| |
| | FArray (const T &v) |
| | Constructor with constant value.
|
| |
| template<typename T2> |
| | FArray (const T2 t[S]) |
| | Constructor from C array.
|
| |
| | FArray (T v0, T v1) |
| | 2D alias.
|
| |
| | FArray (T v0, T v1, T v2) |
| | 3D alias.
|
| |
| | FArray (T v0, T v1, T v2, T v3) |
| | 4D alias.
|
| |
| iterator | begin () |
| | Begin iterator.
|
| |
| const_iterator | begin () const |
| | Begin const iterator.
|
| |
| template<typename T2> |
| FArray & | copy (const FArray< T2, S > &b) |
| | Copy.
|
| |
| template<typename T2> |
| FArray & | copy (const T2 t[S]) |
| | C array of different type copy.
|
| |
| T * | data () |
| | Data pointer (write).
|
| |
| const T * | data () const |
| | Data pointer (read).
|
| |
| bool | empty () const |
| | Is empty.
|
| |
| iterator | end () |
| | End iterator.
|
| |
| const_iterator | end () const |
| | End const iterator.
|
| |
| FArray & | fill (const T &v) |
| | Filling.
|
| |
| bool | operator!= (const FArray &b) const |
| | Inequality test.
|
| |
| template<typename T2> |
| FArray & | operator= (const FArray< T2, S > &b) |
| | Assignment.
|
| |
| bool | operator== (const FArray &b) const |
| | Equality test.
|
| |
| T & | operator[] (int i) |
| | Write access.
|
| |
| const T & | operator[] (int i) const |
| | Read access.
|
| |
| int | size () const |
| | Size.
|
| |
template<int dim>
class Imagine::Coords< dim >
Coordinates used by MultiArray
- Parameters
-
- Examples
- Common/test/test.cpp, and Images/test/test.cpp.