• LineString Feature 또는 Polygon Feature를 입력받아, 교차점을 계산하는 함수입니다.

    Parameters

    • line1: GeoJSON

      계산할 LineString Feature 또는 Polygon Feature 입니다.

    • line2: GeoJSON

      계산할 LineString Feature 또는 Polygon Feature 입니다.

    Returns FeatureCollection<Point, {
        [name: string]: any;
    }>

    입력으로 주어진 Feature들에 대한 교차점을 반환합니다.

    Example

    const line1: ktGms.geometry.LineString = new ktGms.geometry.LineString(
    [
    [127.02222, 37.49144],
    [127.013522, 37.49044],
    ],
    {}
    );
    const line2: ktGms.geometry.LineString = new ktGms.geometry.LineString(
    [
    [127.02, 37.49],
    [127.018, 37.493],
    ],
    {}
    );
    const intersectPoint = analysis.miscellaneous.lineIntersect(line1, line2)

    See

    Calculate a line intersection 두 선의 교차점을 계산하는 예제

Generated using TypeDoc