public class CardinalInterpolator extends Object implements Interpolator
| 构造器和说明 |
|---|
CardinalInterpolator()
Construct a default cardinal interpolator
|
CardinalInterpolator(int n)
Construct cardinal interpolator
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getNum() |
double |
getTension() |
void |
interpolate(EntityGraph<javax.vecmath.Point3d> graph)
Give a skeleton, represented as an acyclic graph, this method will interpolate
several points between every two points.
|
void |
setNum(int num) |
void |
setTension(double tension) |
public CardinalInterpolator()
public CardinalInterpolator(int n)
n - the number of interpolated points between every two points, should be larger than 0public void interpolate(EntityGraph<javax.vecmath.Point3d> graph)
interpolate 在接口中 Interpolatorgraph - the skeletonpublic void setTension(double tension)
public double getTension()
public int getNum()
public void setNum(int num)
Copyright © 2019. All rights reserved.