public static class CurvesTemporalMesh.BezierLine
extends java.lang.Object
| Constructor and Description |
|---|
CurvesTemporalMesh.BezierLine(com.jme3.math.Vector3f[] vertices,
int materialNumber,
boolean smooth,
boolean cyclik) |
| Modifier and Type | Method and Description |
|---|---|
float |
getLength() |
int |
getMaterialNumber() |
com.jme3.math.Vector3f |
getValueAlongCurve(float alongRatio)
The method computes the value of a point at the certain relational distance from its beggining.
|
com.jme3.math.Vector3f[] |
getVertices() |
com.jme3.math.Vector3f[] |
getVertices(float startSlice,
float endSlice) |
boolean |
isCyclic() |
boolean |
isSmooth() |
void |
removeLastVertex() |
CurvesTemporalMesh.BezierLine |
scale(com.jme3.math.Vector3f scale) |
public CurvesTemporalMesh.BezierLine(com.jme3.math.Vector3f[] vertices,
int materialNumber,
boolean smooth,
boolean cyclik)
public CurvesTemporalMesh.BezierLine scale(com.jme3.math.Vector3f scale)
public void removeLastVertex()
public com.jme3.math.Vector3f[] getVertices()
public com.jme3.math.Vector3f[] getVertices(float startSlice,
float endSlice)
public com.jme3.math.Vector3f getValueAlongCurve(float alongRatio)
alongRatio - the relative distance along the curve; should be a value between 0 and 1 inclusive;
if the value exceeds the boundaries it is truncated to thempublic int getMaterialNumber()
public boolean isSmooth()
public float getLength()
public boolean isCyclic()