realroot_doc 0.1.1
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.

: a(1),b(0),c(0),d(1) {}
homography ( const homography< real > &  H) [inline]

Definition at line 20 of file homography.hpp.

: 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.

: 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().

{ 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().

      { 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().

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

Member Data Documentation


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