lines-methods


Namelines-methods JSON
Version 0.0.9 PyPI version JSON
download
home_pagehttps://github.com/UgryumovAV
SummaryThis is the simplest module for quick work with 2D vectors
upload_time2024-12-16 21:14:10
maintainerNone
docs_urlNone
authorUgryumovAV
requires_python>=3.8
licenseNone
keywords lines methods
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Lines Methods Library #

## What is this? ##
The module allows you to work with vectors in 2D coordinates like [x1, y1, x2, y2]. 

## Quick Guide ##
The module is based on the following structure:

    
    vector = [1, 1, 5, 2]
    length = get_length(coordinates=vector)


----------


### Using ###


Using the library is as simple and convenient as possible:

Let's import it first:
First, import everything from the library (use the `from `...` import ` construct).

Examples of some operations:

Finding the intersection point of two vectors using the `get_intersection()` function:

    intersection = get_intersection(line_a, line_b)


Finding the length of the vector using the `get_length()` function:

    length = get_length(coordinates)


Finding the angle between two vectors using the `get_angle_between_lines()` function:

    angle = get_angle_between_lines(line_a, line_b)


Stretch the line in both directions using the `extend_line()` function:

    new_coordinates = extend_line(line, extend_length)    

Finding the midpoint using the `get_medium_point_from_line()` function:

    medium_point = get_medium_point_from_line(line)

----------


## Developer ##
My github: [Ugryumov_AV](https://github.com/UgryumovAV) 

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/UgryumovAV",
    "name": "lines-methods",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "lines methods",
    "author": "UgryumovAV",
    "author_email": "ugriumov2102@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b3/2a/46448010ac90abba72ac37d7e5bd33e5bfa0f1a9b055d60b2c174073bda7/lines_methods-0.0.9.tar.gz",
    "platform": null,
    "description": "# Lines Methods Library #\r\n\r\n## What is this? ##\r\nThe module allows you to work with vectors in 2D coordinates like [x1, y1, x2, y2]. \r\n\r\n## Quick Guide ##\r\nThe module is based on the following structure:\r\n\r\n    \r\n    vector = [1, 1, 5, 2]\r\n    length = get_length(coordinates=vector)\r\n\r\n\r\n----------\r\n\r\n\r\n### Using ###\r\n\r\n\r\nUsing the library is as simple and convenient as possible:\r\n\r\nLet's import it first:\r\nFirst, import everything from the library (use the `from `...` import ` construct).\r\n\r\nExamples of some operations:\r\n\r\nFinding the intersection point of two vectors using the `get_intersection()` function:\r\n\r\n    intersection = get_intersection(line_a, line_b)\r\n\r\n\r\nFinding the length of the vector using the `get_length()` function:\r\n\r\n    length = get_length(coordinates)\r\n\r\n\r\nFinding the angle between two vectors using the `get_angle_between_lines()` function:\r\n\r\n    angle = get_angle_between_lines(line_a, line_b)\r\n\r\n\r\nStretch the line in both directions using the `extend_line()` function:\r\n\r\n    new_coordinates = extend_line(line, extend_length)    \r\n\r\nFinding the midpoint using the `get_medium_point_from_line()` function:\r\n\r\n    medium_point = get_medium_point_from_line(line)\r\n\r\n----------\r\n\r\n\r\n## Developer ##\r\nMy github: [Ugryumov_AV](https://github.com/UgryumovAV) \r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "This is the simplest module for quick work with 2D vectors",
    "version": "0.0.9",
    "project_urls": {
        "GitHub": "https://github.com/UgryumovAV/lines_methods/",
        "Homepage": "https://github.com/UgryumovAV"
    },
    "split_keywords": [
        "lines",
        "methods"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fc00ef8b3e8793b4d539d08456ecfc5212f3ce256fad8f9723a3c4311ed6f132",
                "md5": "800ca4de6db50180b65560298c960e87",
                "sha256": "5e079739c936809231b81196567f0a52d114dbc252ec4ae8f6b82ad4551a794c"
            },
            "downloads": -1,
            "filename": "lines_methods-0.0.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "800ca4de6db50180b65560298c960e87",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 3959,
            "upload_time": "2024-12-16T21:14:08",
            "upload_time_iso_8601": "2024-12-16T21:14:08.194183Z",
            "url": "https://files.pythonhosted.org/packages/fc/00/ef8b3e8793b4d539d08456ecfc5212f3ce256fad8f9723a3c4311ed6f132/lines_methods-0.0.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b32a46448010ac90abba72ac37d7e5bd33e5bfa0f1a9b055d60b2c174073bda7",
                "md5": "531e9c4b3b17a22fdf7796475b960d76",
                "sha256": "458a2e695cde7acb35a9ee244d79a59fec1de1c9db7f08f2afcb33fc6981ba2e"
            },
            "downloads": -1,
            "filename": "lines_methods-0.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "531e9c4b3b17a22fdf7796475b960d76",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3547,
            "upload_time": "2024-12-16T21:14:10",
            "upload_time_iso_8601": "2024-12-16T21:14:10.829468Z",
            "url": "https://files.pythonhosted.org/packages/b3/2a/46448010ac90abba72ac37d7e5bd33e5bfa0f1a9b055d60b2c174073bda7/lines_methods-0.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-16 21:14:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "UgryumovAV",
    "github_project": "lines_methods",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "lines-methods"
}
        
Elapsed time: 0.50277s