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_DIMENSIONAL
name, 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, setVisible
getBoundingBox, getEntityRendererKey, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode
getScene
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
public 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