• (Multi)PolygonPoint Feature의 tangent를 계산하는 함수입니다.

    Parameters

    • point: PointGeo | Feature<Point, {
          [name: string]: any;
      }> | Coord

      tangent를 계산할 Point Feature입니다.

    • polygon: Feature<Polygon | MultiPolygon, {
          [name: string]: any;
      }> | Polygon | MultiPolygon

      tangent를 계산할 (Multi)Polygon Feature 입니다.

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

    2개의 tangent point를 포함하는 Point Feature Collection 입니다.

    Example

    const polygon: ktGms.geometry.Polygon = new ktGms.geometry.Polygon(
    [
    [
    [127.01944982766713, 37.494201336292775],
    [127.01747447522507, 37.49408524182098],
    [127.01535280037876, 37.49325322615786],
    [127.01513331677427, 37.491995510467916],
    [127.01542596158032, 37.49064102373197],
    [127.0162551218653, 37.489808969701116],
    [127.01962053713726, 37.48994442098923],
    [127.02049847155672, 37.491240870888134],
    [127.02130324477332, 37.493175828880865],
    [127.01944982766713, 37.494201336292775],
    ],
    ],
    {}
    );
    const point: ktGms.geometry.PointGeo = new ktGms.geometry.PointGeo(
    [127.02222, 37.49144],
    {}
    );
    const res = analysis.measurement.polygonTangents(point, polygon);

Generated using TypeDoc