Methods
compute
- compute(mode?: string, detail?: number): void
-
Parameters
-
mode: string = 'clamped'
-
detail: number = 20
Returns void
normal
- normal(p1: number, p2: number, p3: number, p4: number, t: number): Vector
-
Parameters
-
p1: number
-
p2: number
-
p3: number
-
p4: number
-
t: number
point
- point(p1: number, p2: number, p3: number, p4: number, t: number): Point
-
Parameters
-
p1: number
-
p2: number
-
p3: number
-
p4: number
-
t: number
tangent
- tangent(p1: number, p2: number, p3: number, p4: number, t: number): Vector
-
Parameters
-
p1: number
-
p2: number
-
p3: number
-
p4: number
-
t: number
translate
- translate(x: any, y: any): Spline