---
title: "NurbsSurface"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.collada.fileparser.elements/nurbssurface/"
product: "Aspose.CAD for Java"
description: "The NURBS surface."
---


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

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

## Constructors

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

## Methods

| Method | Description |
| --- | --- |
| [getSource()](#getSource) | Gets or sets the source. |
| [setSource(Source[] value)](#setSource-com.aspose.cad.fileformats.collada.fileparser.elements.Source:A) | Gets or sets the source. |
| [getControlVertices()](#getControlVertices) | Gets or sets the control vertices. |
| [setControlVertices(ControlVertices value)](#setControlVertices-com.aspose.cad.fileformats.collada.fileparser.elements.ControlVertices) | Gets or sets the control vertices. |
| [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. |
| [getDegreeU()](#getDegreeU) | Gets or sets the degree u. Specifies the degree of the NURBS curve for the u direction. Required. |
| [setDegreeU(long value)](#setDegreeU-long) | Gets or sets the degree u. Specifies the degree of the NURBS curve for the u direction. Required. |
| [getClosedU()](#getClosedU) | Gets or sets a value indicating whether is closed u. Specifies whether a NURBS curve is closed for the u direction. The default is false. Optional. |
| [setClosedU(boolean value)](#setClosedU-boolean) | Gets or sets a value indicating whether is closed u. Specifies whether a NURBS curve is closed for the u direction. The default is false. Optional. |
| [getDegreeV()](#getDegreeV) | Gets or sets the degree v. Specifies the degree of the NURBS curve for the v direction. Required. |
| [setDegreeV(long value)](#setDegreeV-long) | Gets or sets the degree v. Specifies the degree of the NURBS curve for the v direction. Required. |
| [getClosedV()](#getClosedV) | Gets or sets a value indicating whether is closed v. Specifies whether a NURBS curve is closed for the v direction. The default is false. Optional. |
| [setClosedV(boolean value)](#setClosedV-boolean) | Gets or sets a value indicating whether is closed v. Specifies whether a NURBS curve is closed for the v direction. The default is false. Optional. |

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

Initializes a new instance of the NurbsSurface class.

### getSource() {#getSource}
```java
public final Source[] getSource()
```

Gets or sets the source.

**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.

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

Gets or sets the control vertices.

**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.

### 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.

### getDegreeU() {#getDegreeU}
```java
public final long getDegreeU()
```

Gets or sets the degree u. Specifies the degree of the NURBS curve for the u direction. Required.

**Returns:** long

### setDegreeU(long value) {#setDegreeU-long}
```java
public final void setDegreeU(long value)
```

Gets or sets the degree u. Specifies the degree of the NURBS curve for the u direction. Required.

### getClosedU() {#getClosedU}
```java
public final boolean getClosedU()
```

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

**Returns:** boolean

### setClosedU(boolean value) {#setClosedU-boolean}
```java
public final void setClosedU(boolean value)
```

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

### getDegreeV() {#getDegreeV}
```java
public final long getDegreeV()
```

Gets or sets the degree v. Specifies the degree of the NURBS curve for the v direction. Required.

**Returns:** long

### setDegreeV(long value) {#setDegreeV-long}
```java
public final void setDegreeV(long value)
```

Gets or sets the degree v. Specifies the degree of the NURBS curve for the v direction. Required.

### getClosedV() {#getClosedV}
```java
public final boolean getClosedV()
```

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

**Returns:** boolean

### setClosedV(boolean value) {#setClosedV-boolean}
```java
public final void setClosedV(boolean value)
```

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

