---
Product: Aspose.3D
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/java/NurbsCurve
---

# NurbsCurve

## Overview

`NurbsCurve` is a class in Aspose.3D FOSS for Java.
Inherits from: `Curve`.

NURBS curve is a curve represented by NURBS(Non-uniform rational basis spline),
 A NURBS curve is defined by its getOrder(), a set of weighted Geometry.getControlPoints() and a getKnotVectors() The w

This class provides 38 methods for working with NurbsCurve objects in Java programs.
Available methods include: `A3DObject`, `Curve`, `Entity`, `NurbsCurve`, `SceneObject`, `evaluate`, `evaluateAt`, `findProperty`, `getBoundingBox`, `getColor`, `getControlPoints`, `getCurveType`, and 24 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: `boundingBox`, `color`, `controlPoints`, `curveType`, `degree`, `dimension`, and 10 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `controlPoints` | `List` | Read | Gets all control points. |
| `multiplicity` | `List` | Read | Gets the multiplicity. |
| `order` | `int` | Read | Gets the order of a NURBS curve, it defines the number of nearby control points that influence any given point on the curve. |
| `degree` | `int` | Read | Gets the degree of a NURBS curve, the degree are defined as Order - 1. |
| `dimension` | `CurveDimension` | Read | Gets the curve's dimension. |
| `curveType` | `NurbsType` | Read | Gets the type of the curve. |
| `knotVectors` | `List` | Read | Gets the knot vector, it is a sequence of parameter values that determines where and how the control points affect the NURBS curve. |
| `rational` | `boolean` | Read | Gets whether it is rational. |
| `color` | `Vector3` | Read | Gets or sets the color of the line, default value is white(1, 1, 1). |
| `parentNode` | `Node` | Read | Gets the parent node. |
| `parentNodes` | `ArrayList` | Read | Gets the parent nodes. |
| `excluded` | `boolean` | Read | Gets the excluded. |
| `boundingBox` | `BoundingBox` | Read | Gets the bounding box. |
| `scene` | `Scene` | Read | Gets the scene. |
| `name` | `String` | Read | Gets the name. |
| `properties` | `PropertyCollection` | Read | Gets the properties. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getControlPoints()` → `List` | Gets all control points. |
| `NurbsCurve()` | Initializes a new instance of the NurbsCurve class. |
| `NurbsCurve(name: String)` | Initializes a new instance of the NurbsCurve class. |
| `getMultiplicity()` → `List` | Gets the multiplicity. |
| `getOrder()` → `int` | Gets the order of a NURBS curve, it defines the number of nearby control points that influence any given point on the curve. |
| `setOrder(value: int)` | Sets the order value. |
| `getDegree()` → `int` | Gets the degree of a NURBS curve, the degree are defined as Order - 1. |
| `setDegree(value: int)` | Sets the degree value. |
| `getDimension()` → `CurveDimension` | Gets the curve's dimension. |
| `setDimension(value: CurveDimension)` | Sets the dimension value. |
| `getCurveType()` → `NurbsType` | Gets the type of the curve. |
| `setCurveType(value: NurbsType)` | Sets the curve type value. |
| `getKnotVectors()` → `List` | Gets the knot vector, it is a sequence of parameter values that determines where and how the control points affect the NURBS curve. |
| `getRational()` → `boolean` | Gets whether it is rational. |
| `setRational(value: boolean)` | Sets the rational value. |
| `evaluate(steps: int)` → `Vector4[]` | **Not implemented in the FOSS edition — throws at runtime.** Evaluate the NURBS curve
 @param steps The evaluation frequency between two neighbor knots, default value is 20
 @return Points in the curve
 / |
| `evaluate()` → `Vector4[]` | Evaluate the NURBS curve
 @return Points in the curve
 / |
| `evaluateAt(u: double)` → `Vector4` | **Not implemented in the FOSS edition — throws at runtime.** Evaluate the curve's point at specified position
 @param u The position in the curve, between 0 and 1
 @return The point at the specified position
 / |
| `getColor()` → `Vector3` | Gets or sets the color of the line, default value is white(1, 1, 1). |
| `setColor(color: Vector3)` | Sets the color value. |
| `Curve()` | Constructor. |
| `Entity()` | NURBS curve is a curve represented by NURBS(Non-uniform rational basis spline), A NURBS curve is defined by its getOrder(), a set of weighted Geometry.getControlPoints() and a getKnotVectors() The w component in control point is used as control point's weight, whatever it is a CurveDimension.TWO_DIMENSIONAL or CurveDimension.THREE_DIMENSIONAL |
| `getParentNode()` → `Node` | Constructor of instance. |
| `setParentNode(value: Node)` | The Boolean operator used in the operation to create the result mesh. |
| `getParentNodes()` → `ArrayList` | Protected constructor to allow derived classes to set name. |
| `getExcluded()` → `boolean` | The Boolean operator used in the operation to create the result mesh. |
| `setExcluded(value: boolean)` | Sets the excluded value. |
| `getBoundingBox()` → `BoundingBox` | The first operand of the Boolean operator. |
| `SceneObject()` | Boolean operator allows you to apply Boolean operation on two IMeshConvertible instances. |
| `getScene()` → `Scene` | Constructor of BooleanOperator. |
| `A3DObject()` | Parameterized Cylinder. It can also be used to represent a cone when one of radiusTop/radiusBottom is zero. |
| `getName()` → `String` | The segments of the curve. |
| `setName(name: String)` | Constructs a CircleShape profile with specified radius. |
| `getProperties()` → `PropertyCollection` | Initializes a new instance of Cylinder class. |
| `findProperty(name: String)` → `Property` | Initializes a new instance of the Bone class. |
| `getProperty(name: String)` → `Object` | Gets the transform matrix of the node in current pose. |
| `setProperty(name: String, value: Object)` | Gets the width segments. |
| `removeProperty(name: String)` → `boolean` | Gets flip coordinate system of control points/normal during importing/exporting. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)