Class ParametricEquationRenderer
-
- All Implemented Interfaces:
-
com.skillw.particlelib.pobject.Playable
public final class ParametricEquationRenderer extends ParticleObject implements Playable
表示一个参数方程渲染器
Zoyn
-
-
Constructor Summary
Constructors Constructor Description ParametricEquationRenderer(Location origin, Function<Double, Double> xFunction, Function<Double, Double> yFunction, Double minT, Double maxT, Double dT)
参数方程渲染器, 自动将z方程变为0 ParametricEquationRenderer(Location origin, Function<Double, Double> xFunction, Function<Double, Double> yFunction, Function<Double, Double> zFunction, Double minT, Double maxT, Double deltaT)
-
Method Summary
Modifier and Type Method Description final Function<Double, Double>
getXFunction()
final Function<Double, Double>
getYFunction()
final Function<Double, Double>
getZFunction()
final Double
getMinT()
final Unit
setMinT(Double minT)
final Double
getMaxT()
final Unit
setMaxT(Double maxT)
final Double
getDeltaT()
final Unit
setDeltaT(Double deltaT)
Unit
show()
Unit
play()
Unit
playNextPoint()
-
-
Constructor Detail
-
ParametricEquationRenderer
ParametricEquationRenderer(Location origin, Function<Double, Double> xFunction, Function<Double, Double> yFunction, Double minT, Double maxT, Double dT)
参数方程渲染器, 自动将z方程变为0- Parameters:
origin
- 原点xFunction
- x函数yFunction
- y函数
-
ParametricEquationRenderer
ParametricEquationRenderer(Location origin, Function<Double, Double> xFunction, Function<Double, Double> yFunction, Function<Double, Double> zFunction, Double minT, Double maxT, Double deltaT)
- Parameters:
origin
- 原点xFunction
- x函数yFunction
- y函数zFunction
- z函数minT
- 自变量最小值maxT
- 自变量最大值deltaT
- 每次自变量所增加的量
-
-
Method Detail
-
getXFunction
final Function<Double, Double> getXFunction()
-
getYFunction
final Function<Double, Double> getYFunction()
-
getZFunction
final Function<Double, Double> getZFunction()
-
playNextPoint
Unit playNextPoint()
-
-
-
-