public class NurbsSurface extends Geometry implements IMeshConvertible
NurbsSurface is a surface represented by NURBS(Non-uniform rational basis spline),
A NurbsSurface is defined by two NurbsDirection getU() and getV().
The w component in control point is used as control point's weight whatever the direction's type is a CurveDimension.TWO_DIMENSIONAL or CurveDimension.THREE_DIMENSIONALname, properties| Constructor and Description |
|---|
NurbsSurface()
Initializes a new instance of the
NurbsSurface class. |
NurbsSurface(java.lang.String name)
Initializes a new instance of the
NurbsSurface class. |
| Modifier and Type | Method and Description |
|---|---|
NurbsDirection |
getU()
Gets the NURBS surface's U direction
|
NurbsDirection |
getV()
Gets the NURBS surface's V direction
|
Mesh |
toMesh()
Convert the NURBS surface to the mesh
|
addElement, createElement, createElement, createElementUV, createElementUV, getCastShadows, getControlPoints, getDeformers, getDeformers2, getElement, getReceiveShadows, getVertexElementOfUV, getVertexElements, getVisible, setCastShadows, setReceiveShadows, setVisiblegetBoundingBox, getEntityRendererKey, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNodegetScenefindProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setPropertypublic NurbsSurface()
NurbsSurface class.public NurbsSurface(java.lang.String name)
NurbsSurface class.name - Name.public NurbsDirection getU()
public NurbsDirection getV()
public Mesh toMesh()
toMesh in interface IMeshConvertible