Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.5new_solver
   Version 1.0.5dev
      Class Index
      File List
   Version 1.0.5b
   Version 1.0.4dev
   Version 1.0.4
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

Coordmapper Class Reference

Linear-linear 2D coordinate mapper. More...

#include <coordmapper.hpp>

List of all members.

Public Member Functions

 Coordmapper ()
 Default constructor for unitary transformation.
 Coordmapper (Coordmapper1D cmx, Coordmapper1D cmy)
 Constructor for fully defined transformation using 1D coordinate mappers.
 Coordmapper (double xx, double x0, double yy, double y0)
 Constructor for fully defined transformation.
void set_transformation (double xx, double x0, double yy, double y0)
 Set transformation matrix coefficients.
void transform (double &x, double &y) const
 Make transformation for coordinates x, y.
void transform (double *xout, const double *xin) const
 Make transformation from coordinates xin to coordinates xout.
void inv_transform (double &x, double &y) const
 Make inverse transformation for coordinates x, y.
void inv_transform (double *xout, const double *xin) const
 Make inverse transformation from coordinates xin to coordinates xout.
void debug_print (std::ostream &os) const
 Debug print to stream.

Detailed Description

Linear-linear 2D coordinate mapper.


Constructor & Destructor Documentation

Coordmapper::Coordmapper (  )  [inline]

Default constructor for unitary transformation.

Coordmapper::Coordmapper ( Coordmapper1D  cmx,
Coordmapper1D  cmy 
) [inline]

Constructor for fully defined transformation using 1D coordinate mappers.

Coordmapper::Coordmapper ( double  xx,
double  x0,
double  yy,
double  y0 
) [inline]

Constructor for fully defined transformation.


Member Function Documentation

void Coordmapper::debug_print ( std::ostream &  os  )  const [inline]

Debug print to stream.

void Coordmapper::inv_transform ( double *  xout,
const double *  xin 
) const [inline]

Make inverse transformation from coordinates xin to coordinates xout.

void Coordmapper::inv_transform ( double &  x,
double &  y 
) const [inline]

Make inverse transformation for coordinates x, y.

void Coordmapper::set_transformation ( double  xx,
double  x0,
double  yy,
double  y0 
) [inline]

Set transformation matrix coefficients.

void Coordmapper::transform ( double *  xout,
const double *  xin 
) const [inline]

Make transformation from coordinates xin to coordinates xout.

void Coordmapper::transform ( double &  x,
double &  y 
) const [inline]

Make transformation for coordinates x, y.


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


Reference manual for Ion Beam Simulator 1.0.5dev
Generated by Doxygen 1.7.1 on Mon Feb 6 2012 15:07:16.