public class Patch extends Geometry
Patch
is a parametric modeling surface, similar to NurbsSurface
, it's also defined by two
PatchDirection
, the getU()
and getV()
.
But difference between Patch
and NurbsSurface
is that the PatchDirection
curve
can be one of PatchDirectionType.BEZIER
, PatchDirectionType.QUADRATIC_BEZIER
, PatchDirectionType.BASIS_SPLINE
, PatchDirectionType.CARDINAL_SPLINE
and PatchDirectionType.LINEAR
name, properties
Constructor and Description |
---|
Patch()
Initializes a new instance of the
Patch class. |
Patch(java.lang.String name)
Initializes a new instance of the
Patch class. |
Modifier and Type | Method and Description |
---|---|
PatchDirection |
getU()
Gets the u direction.
|
PatchDirection |
getV()
Gets the v direction.
|
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 Patch()
Patch
class.public Patch(java.lang.String name)
Patch
class.name
- Name.public PatchDirection getU()
public PatchDirection getV()