Spline

Inheritance: java.lang.Object, ColladaElement

The spline. The spline element contains control vertex information sufficient to describe basic splines.

Constructors

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

Methods

MethodDescription
getSource()Gets or sets the source. Provides the values for the CVs and segments of the spline.
setSource(Source[] value)Gets or sets the source. Provides the values for the CVs and segments of the spline.
getControlVertices()Gets or sets the control vertices. Describes the CVs of the spline.
setControlVertices(ControlVertices value)Gets or sets the control vertices. Describes the CVs of the spline.
getExtra()Gets or sets the extra.
setExtra(Extra[] value)Gets or sets the extra.
getClosed()Gets or sets a value indicating whether there is a segment connecting the first and last control vertices.
setClosed(boolean value)Gets or sets a value indicating whether there is a segment connecting the first and last control vertices.

Spline()

public Spline()

Initializes a new instance of the Spline class.

getSource()

public final Source[] getSource()

Gets or sets the source. Provides the values for the CVs and segments of the spline.

Returns: Source[]

setSource(Source[] value)

public final void setSource(Source[] value)

Gets or sets the source. Provides the values for the CVs and segments of the spline.

getControlVertices()

public final ControlVertices getControlVertices()

Gets or sets the control vertices. Describes the CVs of the spline.

Returns: ControlVertices

setControlVertices(ControlVertices value)

public final void setControlVertices(ControlVertices value)

Gets or sets the control vertices. Describes 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.

getClosed()

public final boolean getClosed()

Gets or sets a value indicating whether there is a segment connecting the first and last control vertices.

Returns: boolean

setClosed(boolean value)

public final void setClosed(boolean value)

Gets or sets a value indicating whether there is a segment connecting the first and last control vertices.