Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

helpers.interpolation.d.ts 532B

12345678910111213141516171819202122
  1. import type { Point, SplinePoint } from '../types/geometric.js';
  2. /**
  3. * @private
  4. */
  5. export declare function _pointInLine(p1: Point, p2: Point, t: number, mode?: any): {
  6. x: number;
  7. y: number;
  8. };
  9. /**
  10. * @private
  11. */
  12. export declare function _steppedInterpolation(p1: Point, p2: Point, t: number, mode: 'middle' | 'after' | unknown): {
  13. x: number;
  14. y: number;
  15. };
  16. /**
  17. * @private
  18. */
  19. export declare function _bezierInterpolation(p1: SplinePoint, p2: SplinePoint, t: number, mode?: any): {
  20. x: number;
  21. y: number;
  22. };