|
||||||||||
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-2013 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. |
Point.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)
Makes the Index source point a control point. |
void |
setPoint(int index,
Point.Double value)
Use to set the source point for the Knuckle |
Point.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 Point.Double getPoint(int index)
public void setPoint(int index, Point.Double value)
index
- intvalue
- Doublepublic void setKnuckle(int index, boolean value)
index
- intvalue
- booleanpublic int numberOfVertices()
public void rebuild()
public void addPoint(double x, double y)
x
- doubley
- doublepublic void clear()
public Point.Double value(double parameter)
parameter
- double
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |