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.

a
delta

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

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

a
private Double a
delta
private Double delta

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.

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.