Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Converter Class Reference

Functions for conversion between CCS and ICS. More...

List of all members.

Static Public Methods

int ICStoCCS (double icsVal, double zoomFactor)
 Converts the given ics value to ccs value. More...

int[] ICStoCCS (double[] icsVals, double zoomFactor)
 Converts the given set of ics values to ccs values. More...

void ICStoCCS (double[] icsVals, int[] ccsVals, double zoomFactor)
 Converts the given set of ics values to ccs values. More...

double CCStoICS (int ccsVal, double zoomFactor)
 Converts the given ccs value to ics value. More...

double[] CCStoICS (int[] ccsVals, double zoomFactor)
 Converts the given set of ccs values to ics values. More...

void CCStoICS (int[] ccsVals, double[] icsVals, double zoomFactor)
 Converts the given set of ccs values to ics values. More...

Dimension ICStoCCS (Dimension ics, double zoomFactor)
 Converts the given ics dimension to ccs dimension. More...

Dimension CCStoICS (Dimension ccs, double zoomFactor)
 Converts the given ccs dimension to ics dimension. More...

int ICStoPCS (double icsVal)
 Converts the given ics value to pcs value. More...

int ICStoPCS (double icsVal, boolean doEps)
 Converts the given ics value to pcs value. More...


Static Public Attributes

double ICS_ORIGIN = -0.5
 The origin of the ICS is at (-0.5, -0.5). More...

double ICS_EPS = 0.001
 The correction factor makes sure that a point is mappend onto the correct CCS value, i.e. More...


Detailed Description

Functions for conversion between CCS and ICS.


Member Function Documentation

int Converter::ICStoCCS double    icsVal,
double    zoomFactor
[inline, static]
 

Converts the given ics value to ccs value.

int [] Converter::ICStoCCS double    icsVals[],
double    zoomFactor
[inline, static]
 

Converts the given set of ics values to ccs values.

void Converter::ICStoCCS double    icsVals[],
int    ccsVals[],
double    zoomFactor
[inline, static]
 

Converts the given set of ics values to ccs values.

double Converter::CCStoICS int    ccsVal,
double    zoomFactor
[inline, static]
 

Converts the given ccs value to ics value.

double [] Converter::CCStoICS int    ccsVals[],
double    zoomFactor
[inline, static]
 

Converts the given set of ccs values to ics values.

void Converter::CCStoICS int    ccsVals[],
double    icsVals[],
double    zoomFactor
[inline, static]
 

Converts the given set of ccs values to ics values.

Dimension Converter::ICStoCCS Dimension    ics,
double    zoomFactor
[inline, static]
 

Converts the given ics dimension to ccs dimension.

Dimension Converter::CCStoICS Dimension    ccs,
double    zoomFactor
[inline, static]
 

Converts the given ccs dimension to ics dimension.

int Converter::ICStoPCS double    icsVal [inline, static]
 

Converts the given ics value to pcs value.

int Converter::ICStoPCS double    icsVal,
boolean    doEps
[inline, static]
 

Converts the given ics value to pcs value.


Member Data Documentation

double Converter::ICS_ORIGIN = -0.5 [static]
 

The origin of the ICS is at (-0.5, -0.5).

double Converter::ICS_EPS = 0.001 [static]
 

The correction factor makes sure that a point is mappend onto the correct CCS value, i.e.

the point (0,0) has to be mapped onto (0,0), and not (1,1).


The documentation for this class was generated from the following file:
Generated on Tue Jan 8 14:14:24 2002 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001