public static class CurvesTemporalMesh.BezierLine
extends java.lang.Object
Constructor and Description |
---|
BezierLine(Vector3f[] vertices,
int materialNumber,
boolean smooth,
boolean cyclik) |
Modifier and Type | Method and Description |
---|---|
float |
getLength() |
int |
getMaterialNumber() |
Vector3f |
getValueAlongCurve(float alongRatio)
The method computes the value of a point at the certain relational distance from its beginning.
|
Vector3f[] |
getVertices() |
Vector3f[] |
getVertices(float startSlice,
float endSlice) |
boolean |
isCyclic() |
boolean |
isSmooth() |
void |
removeLastVertex() |
CurvesTemporalMesh.BezierLine |
scale(Vector3f scale) |
public BezierLine(Vector3f[] vertices, int materialNumber, boolean smooth, boolean cyclik)
public CurvesTemporalMesh.BezierLine scale(Vector3f scale)
public void removeLastVertex()
public Vector3f[] getVertices()
public Vector3f[] getVertices(float startSlice, float endSlice)
public 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()