ru.sscc.spline
Class SplineWorkspace

java.lang.Object
  |
  +--ru.sscc.spline.SplineWorkspace
Direct Known Subclasses:
GSplineWorkspace, SimpleMeshWorkspace

public class SplineWorkspace
extends java.lang.Object

An auxiliary class for use in spline values calculations. This is the basic class for all spline workspaces. It contains no methods and only public attributes.


Field Summary
 RealPointer data
          A pointer to data subvector needed for a spline value calculation.
 int dataCount
          A number of coefficients needed for a spline value calculation.
 int dataIndex
          An index of the first coefficient needed for a spline value calculation.
 
Constructor Summary
protected SplineWorkspace(RealPointer data)
          Constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataIndex

public int dataIndex
An index of the first coefficient needed for a spline value calculation.

dataCount

public int dataCount
A number of coefficients needed for a spline value calculation.

data

public RealPointer data
A pointer to data subvector needed for a spline value calculation. It is set in Spline or Splines right before the SplineBody's calculate request. The info to set it extracted from dataIndex and dataCount that are defined in the SplineBody's prepareWorkspace request.
Constructor Detail

SplineWorkspace

protected SplineWorkspace(RealPointer data)
Constructor.
Parameters:
data - a pointer to data container associated with spline(s).