$extrastylesheet
#include <mln/core/alias/point1d.hh>
Public Member Functions | |
| point1df () | |
| template<typename C2 > | |
| point1df (const mln::algebra::vec< dim, C2 > &v) | |
| point1df (const mln::algebra::vec< dim, mln::def::coord > &v) | |
| point1df (mln::def::coord ind) | |
| point1df (const literal::origin_t &) | |
| template<typename F > | |
| point1df (const Function_v2v< F > &f) | |
| mln::algebra::vec < mln::grid::tick::dim, mln::def::coordf > & | hook_coord_ () |
| const C & | ind () const |
| C & | ind () |
| const mln::def::coordf & | last_coord () const |
| mln::def::coordf & | last_coord () |
| operator typename internal::vec_of_point< mln::grid::tick, mln::def::coordf >::ret () const | |
| point< mln::grid::tick, mln::def::coordf > & | operator+= (const delta &dp) |
| point< mln::grid::tick, mln::def::coordf > & | operator-= (const delta &dp) |
| const mln::def::coordf & | operator[] (unsigned i) const |
| mln::def::coordf & | operator[] (unsigned i) |
| void | set_all (mln::def::coordfc) |
| h_vec | to_h_vec () const |
| vec | to_vec () const |
Static Public Member Functions | |
| static const point < mln::grid::tick, mln::def::coordf > & | minus_infty () |
| static const point < mln::grid::tick, mln::def::coordf > & | plus_infty () |
Static Public Attributes | |
| static const point < mln::grid::tick, mln::def::coordf > | origin |
Protected Attributes | |
| mln::algebra::vec < mln::grid::tick::dim, mln::def::coordf > | coord_ |
Public Types | |
| enum | |
| typedef Gpoint< void > | category |
| typedef mln::def::coordf | coord |
| typedef dpoint < mln::grid::tick, mln::def::coordf > | delta |
| typedef dpoint < mln::grid::tick, mln::def::coordf > | dpsite |
| typedef E | exact_t |
| typedef mln::grid::tick | grid |
| typedef mln::algebra::h_vec < mln::grid::tick::dim, float > | h_vec |
| typedef point | psite |
| typedef point | site |
| typedef mln::algebra::vec < mln::grid::tick::dim, float > | vec |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename P , typename D > | |
| P | operator+ (const Gpoint< P > &p, const Gdpoint< D > &dp) |
| template<typename P , typename D > | |
| P & | operator+= (Gpoint< P > &p, const Gdpoint< D > &dp) |
| template<typename L , typename R > | |
| L::delta | operator- (const Gpoint< L > &lhs, const Gpoint< R > &rhs) |
| template<typename P , typename D > | |
| P & | operator-= (Gpoint< P > &p, const Gdpoint< D > &dp) |
| template<typename P , typename D > | |
| P | operator/ (const Gpoint< P > &p, const value::scalar_< D > &dp) |
| template<typename P > | |
| std::ostream & | operator<< (std::ostream &ostr, const Gpoint< P > &p) |
| template<typename L , typename R > | |
| bool | operator== (const Gpoint< L > &lhs, const Gpoint< R > &rhs) |
Point defined on the 1D ruler grid with floating-point coordinates.
Definition at line 34 of file point1d.dox.
| mln::point1df::point1df | ( | ) |
Constructor without argument.
| mln::point1df::point1df | ( | const mln::algebra::vec< dim, C2 > & | v | ) |
Construct a 1D point from an algebra vector.
| mln::point1df::point1df | ( | const mln::algebra::vec< dim, mln::def::coord > & | v | ) |
Construct a 1D point from an algebra vector.
| mln::point1df::point1df | ( | mln::def::coord | ind | ) |
Construct a 1D point at index ind.
| mln::point1df::point1df | ( | const literal::origin_t & | ) |
Construct a 1D point at (0,0).
| mln::point1df::point1df | ( | const Function_v2v< F > & | f | ) |
Coordinates are set by function f.
|
inherited |
Return the underlying vector storing the coordinates.
|
inherited |
Index.
|
inherited |
Index.
|
inherited |
Read-only access to the last coordinate.
|
inherited |
Read-write access to the last coordinate.
|
staticinherited |
Point with all coordinates set to the mininum value.
|
inherited |
|
inherited |
Shifting by dp.
|
inherited |
Shifting by the inverse of dp.
|
inherited |
Read-only access to the i-th coordinate value.
| [in] | i | The coordinate index. |
i < dim
|
inherited |
Read-write access to the i-th coordinate value.
| [in] | i | The coordinate index. |
i < dim
|
staticinherited |
Point with all coordinates set to the maximum value.
|
inherited |
Set all coordinates to the value c.
|
inherited |
Transform to point in homogene coordinate system.
|
inherited |
Explicit conversion towards mln::algebra::vec.
|
related |
Add a delta-point rhs to a grid point lhs.
| [in] | p | A grid point. |
| [in] | dp | A delta-point. |
The type of dp has to compatible with the type of p.
\see mln::Gdpoint
|
related |
Shift a point by a delta-point dp.
| [in,out] | p | The targeted point. |
| [in] | dp | A delta-point. |
p once translated by dp.dp has to be compatible with the type of p.
|
related |
Difference between a couple of grid point lhs and rhs.
| [in] | lhs | A first grid point. |
| [in] | rhs | A second grid point. |
lhs and rhs have to be defined on the same topology and with the same type of coordinates; otherwise this test does not compile.dp, is such as lhs == rhs + dp.\see mln::Gdpoint
|
related |
Shift a point by the negate of a delta-point dp.
| [in,out] | p | The targeted point. |
| [in] | dp | A delta-point. |
p once translated by - dp.dp has to be compatible with the type of p.
|
related |
Divise a point by a scalar s.
| [in,out] | p | The targeted point. |
| [in] | dp | A scalar. |
p once divised by s.
|
related |
Print a grid point p into the output stream ostr.
| [in,out] | ostr | An output stream. |
| [in] | p | A grid point. |
ostr.
|
related |
Equality comparison between a couple of grid point lhs and rhs.
| [in] | lhs | A first grid point. |
| [in] | rhs | A second grid point. |
lhs and rhs have to be defined on the same topology; otherwise this test does not compile.
|
protectedinherited |
|
staticinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |