|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.steema.teechart.functions.Spline
public class Spline
Title: Spline class
Description: Spline smoothing.
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
| Constructor Summary | |
|---|---|
Spline()
Spline smoothing. |
|
| Method Summary | |
|---|---|
void |
addPoint(double x,
double y)
Adds a new source point with specified X and Y values. |
void |
clear()
Removes all source points. |
boolean |
getBuild()
Indicates the spline has already calculated smooth points. |
int |
getFragments()
The number of resulting smooth points. |
boolean |
getInterpolated()
When true, the spline calculates interpolated points that will pass exactly over source points. |
java.awt.geom.Point2D.Double |
getPoint(int index)
|
int |
numberOfVertices()
Returns the number of total source points. |
void |
rebuild()
Calculates new smoothed points from list of points. |
void |
setBuild(boolean value)
Indicates the spline has already calculated smooth points. |
void |
setFragments(int value)
Sets the number of resulting smooth points. |
void |
setInterpolated(boolean value)
When true, the spline calculates interpolated points that will pass exactly over source points. |
void |
setKnuckle(int index,
boolean value)
|
void |
setPoint(int index,
java.awt.geom.Point2D.Double value)
|
java.awt.geom.Point2D.Double |
value(double parameter)
Returns an interpolated point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Spline()
| Method Detail |
|---|
public boolean getBuild()
public void setBuild(boolean value)
value - booleanpublic int getFragments()
public void setFragments(int value)
value - intpublic boolean getInterpolated()
public void setInterpolated(boolean value)
value - booleanpublic java.awt.geom.Point2D.Double getPoint(int index)
public void setPoint(int index,
java.awt.geom.Point2D.Double value)
public void setKnuckle(int index,
boolean value)
public int numberOfVertices()
public void rebuild()
public void addPoint(double x,
double y)
x - doubley - doublepublic void clear()
public java.awt.geom.Point2D.Double value(double parameter)
parameter - double
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||