inpoly-python | A fast 'point-in-polygon ' test for Python

 by   dengwirda Python Version: v0.2.0 License: Non-SPDX

kandi X-RAY | inpoly-python Summary

kandi X-RAY | inpoly-python Summary

inpoly-python is a Python library. inpoly-python has no bugs, it has no vulnerabilities, it has build file available and it has low support. However inpoly-python has a Non-SPDX License. You can install using 'pip install inpoly-python' or download it from GitHub, PyPI.

A fast 'point(s)-in-polygon' routine for Python. INPOLY returns the "inside/outside" status for a set of vertices VERT and a general polygon (PSLG) embedded in the two-dimensional plane. General non-convex and multiply-connected polygonal regions can be handled. INPOLY is based on a 'crossing-number' test, counting the number of times a line extending from each point past the right-most region of the polygon intersects with the polygonal boundary. Points with odd counts are 'inside'. A simple implementation requires that each edge intersection be checked for each point, leading to (slow) O(N*M) overall complexity. This implementation seeks to improve these bounds. Query points are sorted by y-value and candidate intersection sets are determined via binary-search. Given a configuration with N test points, M edges and an average point-edge 'overlap' of H, the overall complexity scales like O(M*H + M*LOG(N) + N*LOG(N)), where O(N*LOG(N)) operations are required for the initial sorting, O(M*LOG(N)) operations are required for the set of binary-searches, and O(M*H) operations are required for the actual intersection tests. H is typically small on average, such that H << N. Overall, this leads to fast O((N+M)*LOG(N)) complexity for average cases.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              inpoly-python has a low active ecosystem.
              It has 4 star(s) with 0 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 4 have been closed. On average issues are closed in 0 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of inpoly-python is v0.2.0

            kandi-Quality Quality

              inpoly-python has 0 bugs and 0 code smells.

            kandi-Security Security

              inpoly-python has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              inpoly-python code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              inpoly-python has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              inpoly-python releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed inpoly-python and discovered the below as its top functions. This is intended to give you an instant insight into inpoly-python implemented functionality, and help decide if they suit your requirements.
            • Example 3
            • Finds a polygon in a polygon
            • Load a mesh from a file
            • Compute the intersection of a polygon
            • Example example
            Get all kandi verified functions for this library.

            inpoly-python Key Features

            No Key Features are available at this moment for inpoly-python.

            inpoly-python Examples and Code Snippets

            No Code Snippets are available at this moment for inpoly-python.

            Community Discussions

            No Community Discussions are available at this moment for inpoly-python.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install inpoly-python

            You can install using 'pip install inpoly-python' or download it from GitHub, PyPI.
            You can use inpoly-python like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/dengwirda/inpoly-python.git

          • CLI

            gh repo clone dengwirda/inpoly-python

          • sshUrl

            git@github.com:dengwirda/inpoly-python.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link