Package com.aspose.threed
Class NurbsSurface
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- com.aspose.threed.SceneObject
-
- com.aspose.threed.Entity
-
- com.aspose.threed.Geometry
-
- com.aspose.threed.NurbsSurface
-
- All Implemented Interfaces:
IMeshConvertible
,INamedObject
public class NurbsSurface extends Geometry implements IMeshConvertible
NurbsSurface
is a surface represented by NURBS(Non-uniform rational basis spline), ANurbsSurface
is defined by twoNurbsDirection
getU()
andgetV()
. The w component in control point is used as control point's weight whatever the direction's type is aCurveDimension.TWO_DIMENSIONAL
orCurveDimension.THREE_DIMENSIONAL
-
-
Field Summary
-
Fields inherited from class com.aspose.threed.A3DObject
name, properties
-
-
Constructor Summary
Constructors Constructor Description NurbsSurface()
Initializes a new instance of theNurbsSurface
class.NurbsSurface(java.lang.String name)
Initializes a new instance of theNurbsSurface
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NurbsDirection
getU()
Gets the NURBS surface's U directionNurbsDirection
getV()
Gets the NURBS surface's V directionMesh
toMesh()
Convert the NURBS surface to the mesh-
Methods inherited from class com.aspose.threed.Geometry
addElement, createElement, createElement, createElementUV, createElementUV, getCastShadows, getControlPoints, getDeformers, getDeformers2, getElement, getReceiveShadows, getVertexElementOfUV, getVertexElements, getVisible, setCastShadows, setReceiveShadows, setVisible
-
Methods inherited from class com.aspose.threed.Entity
getBoundingBox, getEntityRendererKey, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode
-
Methods inherited from class com.aspose.threed.SceneObject
getScene
-
Methods inherited from class com.aspose.threed.A3DObject
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
-
-
-
-
Constructor Detail
-
NurbsSurface
public NurbsSurface()
Initializes a new instance of theNurbsSurface
class.
-
NurbsSurface
public NurbsSurface(java.lang.String name)
Initializes a new instance of theNurbsSurface
class.- Parameters:
name
- Name.
-
-
Method Detail
-
getU
public NurbsDirection getU()
Gets the NURBS surface's U direction
-
getV
public NurbsDirection getV()
Gets the NURBS surface's V direction
-
toMesh
public Mesh toMesh()
Convert the NURBS surface to the mesh- Specified by:
toMesh
in interfaceIMeshConvertible
- Returns:
- The mesh.
-
-