public class ParametricCurve extends Model
ParametricSurface
hidden, lineSegmentList
Constructor and Description |
---|
ParametricCurve()
Create a trefoil knot as a parametric curve in space.
|
ParametricCurve(DoubleFunction<Double> x,
DoubleFunction<Double> y,
double t1,
double t2,
int n)
Create a parametric curve in the xy-plane,
|
ParametricCurve(DoubleFunction<Double> x,
DoubleFunction<Double> y,
DoubleFunction<Double> z,
double t1,
double t2,
int n)
Create a parametric curve in space,
|
public ParametricCurve()
public ParametricCurve(DoubleFunction<Double> x, DoubleFunction<Double> y, double t1, double t2, int n)
x = x(t)
y = y(t)
with the parameter t
having the given parameter
range and the given number of line segments.x
- component function in the x-directiony
- component function in the y-directiont1
- beginning value of parameter ranget2
- ending value of parameter rangen
- number of line segments in the curvepublic ParametricCurve(DoubleFunction<Double> x, DoubleFunction<Double> y, DoubleFunction<Double> z, double t1, double t2, int n)
x = x(t)
y = y(t)
z = z(t)
with the parameter t
having the given parameter
range and the given number of line segments.x
- component function in the x-directiony
- component function in the y-directionz
- component function in the z-directiont1
- beginning value of parameter ranget2
- ending value of parameter rangen
- number of line segments in the curve