|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.scene.Mesh
com.jme3.scene.shape.Surface
public class Surface
This class represents a surface described by knots, weights and control points. Currently the following types are supported: a) NURBS
入れ子のクラスの概要 |
---|
クラス com.jme3.scene.Mesh から継承された入れ子のクラス/インタフェース |
---|
Mesh.Mode |
メソッドの概要 | |
---|---|
static Surface |
createNurbsSurface(java.util.List<java.util.List<Vector4f>> controlPoints,
java.util.List<java.lang.Float>[] nurbKnots,
int uSegments,
int vSegments,
int basisUFunctionDegree,
int basisVFunctionDegree)
This method creates a NURBS surface. |
int |
getBasisUFunctionDegree()
This method returns the degree of basis U function. |
int |
getBasisVFunctionDegree()
This method returns the degree of basis V function. |
java.util.List<java.util.List<Vector4f>> |
getControlPoints()
|
java.util.List<java.lang.Float> |
getKnots(int dim)
This method returns the knots for specified dimension (U knots - value: '0', V knots - value: '1'). |
Spline.SplineType |
getType()
This method returns the type of the surface. |
int |
getUControlPointsAmount()
This method returns the amount of U control points. |
int |
getVControlPointsAmount()
This method returns the amount of V control points. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public static final Surface createNurbsSurface(java.util.List<java.util.List<Vector4f>> controlPoints, java.util.List<java.lang.Float>[] nurbKnots, int uSegments, int vSegments, int basisUFunctionDegree, int basisVFunctionDegree)
controlPoints
- space control pointsnurbKnots
- knots of the surfaceuSegments
- the amount of U segmentsvSegments
- the amount of V segmentsbasisUFunctionDegree
- the degree of basis U functionbasisVFunctionDegree
- the degree of basis V function
public java.util.List<java.util.List<Vector4f>> getControlPoints()
public int getUControlPointsAmount()
public int getVControlPointsAmount()
public int getBasisUFunctionDegree()
public int getBasisVFunctionDegree()
public java.util.List<java.lang.Float> getKnots(int dim)
dim
- an integer specifying if the U or V knots are required
public Spline.SplineType getType()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |