|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.igc.alg.internal.SplineAlg
org.eclipse.tptp.platform.report.birt).
public abstract class SplineAlg
SplineAlg is an abstract class for common code and definition for spline algorithm. spline curve.
and Spline4Alg| Field Summary | |
|---|---|
protected int |
curr_index_
Deprecated. |
protected static byte |
F_HULL
Deprecated. |
protected static byte |
F_POINTS_VALID
Deprecated. |
protected static byte |
F_TGT_SEGMENT_CHANGED
Deprecated. |
protected byte |
flags_
Deprecated. |
protected LineAlg |
la_
Deprecated. |
protected static int |
MAX_LEVEL
Deprecated. |
protected int |
num_points_
Deprecated. |
protected int[] |
points_
Deprecated. |
protected byte |
state_
Deprecated. |
protected double |
tgx_
Deprecated. |
protected double |
tgy_
Deprecated. |
| Constructor Summary | |
|---|---|
SplineAlg()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
backTangent(IVector vector)
Deprecated. fill in vector the back tangent at last generated point( must call nextPoint() before and check nextPoint() return true). |
void |
frontTangent(IVector vector)
Deprecated. fill in vector the front tangent at last generated point( must call nextPoint() before and check nextPoint() return true). |
int |
getX()
Deprecated. |
int |
getY()
Deprecated. |
boolean |
nextPoint(IPoint point)
Deprecated. |
protected abstract void |
prepareDPoints()
Deprecated. must create and set dpoints_ array with segments to generate |
void |
restart()
Deprecated. Force current spline to restart point generation. |
void |
setHullPath(boolean b)
Deprecated. Change path generation, if true generate the hull path (segment between controls points), otherwise generate spline path (default if false). |
protected void |
tangent(IVector vector)
Deprecated. Approximate tangent value using tangent value of current segment, this is computed "on demand" |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final byte F_TGT_SEGMENT_CHANGED
protected static final byte F_POINTS_VALID
protected static final byte F_HULL
protected byte state_
protected byte flags_
protected int[] points_
protected int curr_index_
protected int num_points_
protected static final int MAX_LEVEL
protected LineAlg la_
protected double tgx_
protected double tgy_
| Constructor Detail |
|---|
public SplineAlg()
| Method Detail |
|---|
public void setHullPath(boolean b)
public int getX()
public int getY()
public void restart()
protected abstract void prepareDPoints()
public boolean nextPoint(IPoint point)
nextPoint in interface IAlgprotected void tangent(IVector vector)
public void backTangent(IVector vector)
IAlg
backTangent in interface IAlgpublic void frontTangent(IVector vector)
IAlg
frontTangent in interface IAlg
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||