public class TransformedCurve extends Curve
TransformedCurve
gives a curve a placement by using a transformation matrix.
This allows to perform a transformation inside a TrimmedCurve
or CompositeCurve
.name, properties
Constructor and Description |
---|
TransformedCurve()
The constructor of
TransformedCurve |
TransformedCurve(Curve basisCurve,
Matrix4 transformation)
The constructor of
TransformedCurve |
Modifier and Type | Method and Description |
---|---|
Curve |
getBasisCurve()
The basis curve.
|
Matrix4 |
getTransformMatrix()
The transformation matrix.
|
void |
setBasisCurve(Curve value)
The basis curve.
|
void |
setTransformMatrix(Matrix4 value)
The transformation matrix.
|
getColor, getEntityRendererKey, setColor
getBoundingBox, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode
getScene
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
public TransformedCurve()
TransformedCurve
public TransformedCurve(Curve basisCurve, Matrix4 transformation)
TransformedCurve
public Matrix4 getTransformMatrix()
public void setTransformMatrix(Matrix4 value)
value
- New valuepublic Curve getBasisCurve()
public void setBasisCurve(Curve value)
value
- New value