|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.math.CurveAndSurfaceMath
public class CurveAndSurfaceMath
This class offers methods to help with curves and surfaces calculations.
メソッドの概要 | |
---|---|
static void |
interpolate(float u,
float v,
java.util.List<java.util.List<Vector4f>> controlPoints,
java.util.List<java.lang.Float>[] knots,
int basisUFunctionDegree,
int basisVFunctionDegree,
Vector3f store)
This method interpolates tha data for the nurbs surface. |
static void |
interpolateNurbs(float u,
Spline nurbSpline,
Vector3f store)
This method interpolates tha data for the nurbs curve. |
static void |
prepareNurbsKnots(java.util.List<java.lang.Float> knots,
int basisFunctionDegree)
This method prepares the knots to be used. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public static void interpolateNurbs(float u, Spline nurbSpline, Vector3f store)
u
- the u valuenurbSpline
- the nurbs spline definitionstore
- the resulting point in 3D spacepublic static void interpolate(float u, float v, java.util.List<java.util.List<Vector4f>> controlPoints, java.util.List<java.lang.Float>[] knots, int basisUFunctionDegree, int basisVFunctionDegree, Vector3f store)
u
- the u valuev
- the v valuecontrolPoints
- the nurbs' control pointsknots
- the nurbs' knotsbasisUFunctionDegree
- the degree of basis U functionbasisVFunctionDegree
- the degree of basis V functionstore
- the resulting point in 3D spacepublic static void prepareNurbsKnots(java.util.List<java.lang.Float> knots, int basisFunctionDegree)
knots
- the knots to be prepared to usebasisFunctionDegree
- the degree of basis function
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |