homography< real > Struct Template Reference

#include <homography.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<class real>
struct mmx::homography< real >

Definition at line 15 of file homography.hpp.


Constructor & Destructor Documentation

homography (  )  [inline]

Definition at line 19 of file homography.hpp.

00019 : a(1),b(0),c(0),d(1) {}

homography ( const homography< real > &  H  )  [inline]

Definition at line 20 of file homography.hpp.

00020 : a(H.a),b(H.b),c(H.c),d(H.d) {}

homography ( const real &  A,
const real &  B,
const real &  C,
const real &  D 
) [inline]

Definition at line 21 of file homography.hpp.

00021 : a(A),b(B),c(C),d(D) {}


Member Function Documentation

void contract_hom ( const real &  t  )  [inline]

Definition at line 29 of file homography.hpp.

Referenced by interval_rep< POL >::contract_box().

00029 { a*=t; c*=t; }

void reciprocal_hom ( const real &  t  )  [inline]

Definition at line 26 of file homography.hpp.

Referenced by interval_rep< POL >::reverse_box().

00027       { std::swap(a,b); std::swap(c,d); }

void shift_hom ( const real &  t  )  [inline]

Definition at line 23 of file homography.hpp.

Referenced by interval_rep< POL >::shift_box().

00023 {  b+=t*a; d+=t*c; }


Member Data Documentation

real a
real b
real c
real d

The documentation for this struct was generated from the following file:

Generated on 6 Dec 2012 for realroot by  doxygen 1.6.1