Public Types | Public Member Functions | Protected Member Functions

mln::Dpoint< E > Struct Template Reference

Base class for implementation of delta-point classes. More...

#include <dpoint.hh>

Inheritance diagram for mln::Dpoint< E >:
Inheritance graph

List of all members.

Public Types

typedef Dpoint< void > category
typedef E dpoint
typedef E exact_t

Public Member Functions

const E & to_dpoint () const
 It is a Dpoint so it returns itself.

Protected Member Functions

 Dpoint ()

Detailed Description

template<typename E>
struct mln::Dpoint< E >

Base class for implementation of delta-point classes.

A delta-point is a vector defined by a couple of points.

Given two points, A and B, the vector AB is mapped into the delta-point D = AB. Practically one can write: D = B - A.

See also:
mln::doc::Dpoint for a complete documentation of this class contents.

Definition at line 63 of file concept/dpoint.hh.


Member Typedef Documentation

template<typename E>
typedef Dpoint<void> mln::Dpoint< E >::category

Reimplemented from mln::Delta_Point_Site< E >.

Definition at line 65 of file concept/dpoint.hh.

template<typename E>
typedef E mln::Dpoint< E >::dpoint

Definition at line 67 of file concept/dpoint.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 173 of file object.hh.


Constructor & Destructor Documentation

template<typename E >
mln::Dpoint< E >::Dpoint (  )  [inline, protected]

Definition at line 81 of file concept/dpoint.hh.


Member Function Documentation

template<typename E >
const E & mln::Dpoint< E >::to_dpoint (  )  const [inline]

It is a Dpoint so it returns itself.

Definition at line 88 of file concept/dpoint.hh.

References mln::exact().