NurbsDirection

NurbsDirection class

A 3D NurbsSurface has two direction, the NurbsSurface.U and NurbsSurface.V, the NurbsDirection defines data for each direction. A direction is actually a NURBS curve, that means it’s also defined by its Order, a KnotVectors, and a set of weighted control points(defined in NurbsSurface).

Methods

constructor

NameDescription
constructor()

Result:


getKnotVectors

NameDescription
getKnotVectors()Gets the knot vector, it is a sequence of parameter values that determines where and how the control points affect the NURBS curve.

Result:


getMultiplicity

NameDescription
getMultiplicity()Gets the multiplicity. The multiplicity.

Result:


getOrder

NameDescription
getOrder()Gets or sets the order of a NURBS curve, it defines the number of nearby control points that influence any given point on the curve.

Result:


setOrder

NameDescription
setOrder(value)Gets or sets the order of a NURBS curve, it defines the number of nearby control points that influence any given point on the curve.

Result:


getDivisions

NameDescription
getDivisions()Gets or sets the number of divisions between adjacent control points in current direction. The step.

Result:


setDivisions

NameDescription
setDivisions(value)Gets or sets the number of divisions between adjacent control points in current direction. The step.

Result:


getType

NameDescription
getType()Gets or sets the type of the current direction. The value of the property is NurbsType integer constant.

Result:


setType

NameDescription
setType(value)Gets or sets the type of the current direction. The value of the property is NurbsType integer constant.

Result:


getCount

NameDescription
getCount()Gets or sets the count of control points in current direction. The count.

Result:


setCount

NameDescription
setCount(value)Gets or sets the count of control points in current direction. The count.

Result: