[page:Curve] →

# [name]

Create a smooth 3d cubic bezier curve.

## Example

`var curve = new THREE.CubicBezierCurve3( new THREE.Vector3( -10, 0, 0 ), new THREE.Vector3( -5, 15, 0 ), new THREE.Vector3( 20, 15, 0 ), new THREE.Vector3( 10, 0, 0 ) ); var geometry = new THREE.Geometry(); geometry.vertices = curve.getPoints( 50 ); var material = new THREE.LineBasicMaterial( { color : 0xff0000 } ); // Create the final Object3d to add to the scene var curveObject = new THREE.Line( geometry, material );`

## Constructor

### [name]( [page:Vector3 v0], [page:Vector3 v1], [page:Vector3 v2], [page:Vector3 v3] )

[page:Vector3 v0] – The starting point
[page:Vector3 v1] – The first control point
[page:Vector3 v2] – The second control point
[page:Vector3 v3] – The ending point

## Properties

### [property:Vector3 v0]

### [property:Vector3 v1]

### [property:Vector3 v2]

### [property:Vector3 v3]

## Methods

### See [page:Curve] for inherited methods

## Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]