|
Milena (Olena)
User documentation 2.0a Id
|
Generic delta-point class. More...
#include <dpoint.hh>

Public Types | |
| enum | { dim = G::dim } |
| typedef C | coord |
| Coordinate associated type. | |
| typedef G | grid |
| Grid associated type. | |
| typedef point< G, C > | psite |
| Psite associated type. | |
| typedef point< G, C > | site |
| Site associated type. | |
| typedef algebra::vec< G::dim, C > | vec |
| Algebra vector (vec) associated type. | |
Public Member Functions | |
| dpoint () | |
| Constructor without argument. | |
| template<typename C2 > | |
| dpoint (const algebra::vec< dim, C2 > &v) | |
| Constructor from an algebra vector. | |
| template<typename F > | |
| dpoint (const Function_v2v< F > &f) | |
Constructor; coordinates are set by function f. | |
| template<typename Q > | |
| operator mln::algebra::vec< dpoint< G, C >::dim, Q > () const | |
| Conversion towards a algebra::vec. | |
| C | operator[] (unsigned i) const |
Read-only access to the i-th coordinate value. | |
| C & | operator[] (unsigned i) |
Read-write access to the i-th coordinate value. | |
| void | set_all (C c) |
Set all coordinates to the value c. | |
| vec | to_vec () const |
| Explicit conversion. | |
| dpoint (C ind) | |
| dpoint (const literal::zero_t &) | |
| Constructors/assignments with literals. | |
Generic delta-point class.
Parameters are G the dimension of the space and C the coordinate type in this space.
| typedef C mln::dpoint< G, C >::coord |
| typedef G mln::dpoint< G, C >::grid |
| typedef point<G,C> mln::dpoint< G, C >::psite |
| typedef point<G,C> mln::dpoint< G, C >::site |
| typedef algebra::vec<G::dim, C> mln::dpoint< G, C >::vec |
| anonymous enum |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set all coordinates to the value c.
Definition at line 248 of file dpoint.hh.
Referenced by mln::win::line< M, i, C >::line().