public class Spline2D
extends java.lang.Object
Constructor and Description |
---|
Spline2D(double[] x,
double[] y)
Creates a new Spline2D.
|
Spline2D(java.awt.geom.Point2D[] points)
Creates a new Spline2D.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkValues()
Used to check the correctness of this spline
|
double |
getDx(double t) |
double |
getDy(double t) |
double |
getLength() |
double[] |
getPoint(double t) |
Spline |
getSplineX() |
Spline |
getSplineY() |
public Spline2D(java.awt.geom.Point2D[] points)
points
- public Spline2D(double[] x, double[] y)
x
- y
- public double[] getPoint(double t)
t
- 0 <= t <= 1public boolean checkValues()
public double getDx(double t)
public double getDy(double t)
public Spline getSplineX()
public Spline getSplineY()
public double getLength()
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.