• LineString Feature를 입력받아 Bezier spline 곡선으로 변환해주는 함수입니다.

    Parameters

    • feature: LineString | Feature<LineString, {
          [name: string]: any;
      }>

      변환할 LineString Feature 입니다.

    • Optional options: bezierSplineOption

      bezierSpline 함수에서 사용할 옵션입니다.

    Returns Feature<LineString, {
        [name: string]: any;
    }>

    변환된 Bezier spline 곡선이 반환됩니다.

    Example

    const line: ktGms.geometry.LineString = new ktGms.geometry.LineString(
    [
    [127.02052285862385, 37.49408524182098],
    [127.01591370292363, 37.49449157168321],
    [127.01432854355636, 37.49263404569571],
    [127.01515770384145, 37.49060232375004],
    [127.02074234222835, 37.490428173582785],
    [127.02179098611799, 37.491743964788654],
    ],
    {}
    );
    const curved = analysis.transformation.bezierSpline(line);

Generated using TypeDoc