Nurbs

Inheritance: java.lang.Object, ColladaElement

The NURBS. Describes a NURBS curve in 3D space.

Constructors

ConstructorDescription
Nurbs()Initializes a new instance of the Nurbs class.

Methods

MethodDescription
getSource()Gets or sets the source.
setSource(Source[] value)Gets or sets the source.
getControlVertices()Gets or sets the control vertices. The control vertices element must occur exactly one time. It is used to describe the CVs of the spline.
setControlVertices(ControlVertices value)Gets or sets the control vertices. The control vertices element must occur exactly one time. It is used to describe the CVs of the spline.
getExtra()Gets or sets the extra.
setExtra(Extra[] value)Gets or sets the extra.
getDegree()Gets or sets the degree. Specifies the degree of the NURBS curve.
setDegree(long value)Gets or sets the degree. Specifies the degree of the NURBS curve.
getClosed()Gets or sets a value indicating whether curve is closed. Specifies whether a NURBS curve is closed. The default is false. Optional.
setClosed(boolean value)Gets or sets a value indicating whether curve is closed. Specifies whether a NURBS curve is closed. The default is false. Optional.

Nurbs()

public Nurbs()

Initializes a new instance of the Nurbs class.

getSource()

public final Source[] getSource()

Gets or sets the source.

Returns: Source[]

setSource(Source[] value)

public final void setSource(Source[] value)

Gets or sets the source.

getControlVertices()

public final ControlVertices getControlVertices()

Gets or sets the control vertices. The control vertices element must occur exactly one time. It is used to describe the CVs of the spline.

Returns: ControlVertices

setControlVertices(ControlVertices value)

public final void setControlVertices(ControlVertices value)

Gets or sets the control vertices. The control vertices element must occur exactly one time. It is used to describe the CVs of the spline.

getExtra()

public final Extra[] getExtra()

Gets or sets the extra.

Returns: Extra[]

setExtra(Extra[] value)

public final void setExtra(Extra[] value)

Gets or sets the extra.

getDegree()

public final long getDegree()

Gets or sets the degree. Specifies the degree of the NURBS curve.

Returns: long

setDegree(long value)

public final void setDegree(long value)

Gets or sets the degree. Specifies the degree of the NURBS curve.

getClosed()

public final boolean getClosed()

Gets or sets a value indicating whether curve is closed. Specifies whether a NURBS curve is closed. The default is false. Optional.

Returns: boolean

setClosed(boolean value)

public final void setClosed(boolean value)

Gets or sets a value indicating whether curve is closed. Specifies whether a NURBS curve is closed. The default is false. Optional.