Open tooxoot opened 7 years ago
For intersecting, clipping and the conversion to plotable hpgl all bezier curves need to be converted to polylines. For this conversion bezier-js.
getLUT(...)
⇒ use bezier-js.getLUT(steps: number)
bezier-js.getLUT(steps: number)
let curve = new Bezier(150,40 , 80,30 , 105,150); let LUT = curve.getLUT(16);
a. ⇒ use fixnum / bezier-js.length()
fixnum / bezier-js.length()
Constraints:
To fix import problems the @types/bezier-js/index.d.ts should be replaced by this file. Import statement should be import Bezier = require( 'bezier-js' );
@types/bezier-js/index.d.ts
import Bezier = require( 'bezier-js' );
Question: Should I post a question regarding the current npm file on the according issue?
For intersecting, clipping and the conversion to plotable hpgl all bezier curves need to be converted to polylines. For this conversion bezier-js.
Focus Points
getLUT(...)