UNPKG

three

Version:

JavaScript 3D library

29 lines (21 loc) 420 B
import { Curve } from './Curve'; import { Vector } from './../../math/Vector2'; export class CurvePath<T extends Vector> extends Curve<T> { constructor(); /** * @default 'CurvePath' */ type: string; /** * @default [] */ curves: Curve<T>[]; /** * @default false */ autoClose: boolean; add( curve: Curve<T> ): void; closePath(): void; getPoint( t: number ): T; getCurveLengths(): number[]; }