Type alias TCurveInfo<C>

TCurveInfo<C>: TPathSegmentInfoCommon<C> & {
    angleFinder: ((pct) => number);
    iterator: ((pct) => Point);
    length: number;
}

Type Parameters

  • C extends string

Type declaration

  • angleFinder: ((pct) => number)
      • (pct): number
      • Get the angle to a percent

        Parameters

        • pct: number

        Returns number

  • iterator: ((pct) => Point)
      • (pct): Point
      • Get the Point a certain percent distance along the curve

        Parameters

        • pct: number

        Returns Point

  • length: number

    Total length of the curve

Generated using TypeDoc