Create a smooth 3d quadratic bezier curve, defined by a startpoint, endpoint and a single control point.
		const curve = new THREE.QuadraticBezierCurve3(
			new THREE.Vector3( -10, 0, 0 ),
			new THREE.Vector3( 20, 15, 0 ),
			new THREE.Vector3( 10, 0, 0 )
		);
		const points = curve.getPoints( 50 );
		const geometry = new THREE.BufferGeometry().setFromPoints( points );
		const material = new THREE.LineBasicMaterial( { color: 0xff0000 } );
		// Create the final object to add to the scene
		const curveObject = new THREE.Line( geometry, material );
		
		
			[page:Vector3 v0] – The starting point
			[page:Vector3 v1] – The middle control point
			[page:Vector3 v2] – The ending point
		
See the base [page:Curve] class for common properties.
The startpoint.
The control point.
The endpoint.
See the base [page:Curve] class for common methods.
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]