Class kochModel.factory.AffineXForm


class AffineXForm
extends Object
This class encapsulates an Affine transform. Specifically, an instance of this class is the Affine transform a point defined on the unit interval, (0.0,0.0) to (0.0, 1.0), to an arbitrarily define interval.


Variable Index

 o a
 o delta

Constructor Index

 o AffineXForm (Double, Double)
The interval to transform to, is loaded into this object in the form of offset and distance

Method Index

 o doXForm (Double)
Takes a single point on the unit interval and transforms it onto the stored interval

Variables

 o a
private Double a
 o delta
private Double delta

Constructors

 o AffineXForm
public  AffineXForm(Double a, Double delta)
The interval to transform to, is loaded into this object in the form of offset and distance.

Parameters:
a - The offset to the beginning of the interval to transform to.
delta - The distance from the beginning of the interval to the end of the interval.

Methods

 o doXForm
Double doXForm(Double v)
Takes a single point on the unit interval and transforms it onto the stored interval.

Parameters:
v - The point to be transformed.
Returns:
The transformed point.