
**Inheritance:** java.lang.Object, ColladaElement

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

## Constructors

| Constructor | Description |
| --- | --- |
| [Spline()](#Spline) | Initializes a new instance of the Spline class. |

## Methods

| Method | Description |
| --- | --- |
| [getSource()](#getSource) | Gets or sets the source. Provides the values for the CVs and segments of the spline. |
| [setSource(Source[] value)](#setSource-com.aspose.cad.fileformats.collada.fileparser.elements.Source:A) | Gets or sets the source. Provides the values for the CVs and segments of the spline. |
| [getControlVertices()](#getControlVertices) | Gets or sets the control vertices. Describes the CVs of the spline. |
| [setControlVertices(ControlVertices value)](#setControlVertices-com.aspose.cad.fileformats.collada.fileparser.elements.ControlVertices) | Gets or sets the control vertices. Describes the CVs of the spline. |
| [getExtra()](#getExtra) | Gets or sets the extra. |
| [setExtra(Extra[] value)](#setExtra-com.aspose.cad.fileformats.collada.fileparser.elements.Extra:A) | Gets or sets the extra. |
| [getClosed()](#getClosed) | Gets or sets a value indicating whether there is a segment connecting the first and last control vertices. |
| [setClosed(boolean value)](#setClosed-boolean) | Gets or sets a value indicating whether there is a segment connecting the first and last control vertices. |

### Spline() {#Spline}
```java
public Spline()
```

Initializes a new instance of the Spline class.

### getSource() {#getSource}
```java
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) {#setSource-com.aspose.cad.fileformats.collada.fileparser.elements.Source:A}
```java
public final void setSource(Source[] value)
```

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

### getControlVertices() {#getControlVertices}
```java
public final ControlVertices getControlVertices()
```

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

**Returns:** ControlVertices

### setControlVertices(ControlVertices value) {#setControlVertices-com.aspose.cad.fileformats.collada.fileparser.elements.ControlVertices}
```java
public final void setControlVertices(ControlVertices value)
```

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

### getExtra() {#getExtra}
```java
public final Extra[] getExtra()
```

Gets or sets the extra.

**Returns:** Extra[]

### setExtra(Extra[] value) {#setExtra-com.aspose.cad.fileformats.collada.fileparser.elements.Extra:A}
```java
public final void setExtra(Extra[] value)
```

Gets or sets the extra.

### getClosed() {#getClosed}
```java
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) {#setClosed-boolean}
```java
public final void setClosed(boolean value)
```

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

