Metadata-Version: 2.1
Name: selected-area
Version: 0.2.0
Summary: Calculates if plot/segment intersects the selected area.
Home-page: https://github.com/nedvedikd/selected-area
Author: Dominik Nedvedik
Author-email: dominik.nedvedik@protonmail.com
License: UNKNOWN
Description: # Selected Area
        [![Build Status](https://travis-ci.com/nedvedikd/selected-area.svg?branch=master)](https://travis-ci.com/nedvedikd/selected-area)
        [![PyPI version](https://badge.fury.io/py/selected-area.svg)](https://badge.fury.io/py/selected-area)
        ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/selected-area)
        
        ![nice image](https://i.postimg.cc/0QK43NMj/selected-area.png)
        
        Calculates if plot/segment intersects the selected area.
        
        ## Installation
        
        ```bash
        pip install selected-area
        ```
        
        ## Usage
        ```python
        from selected_area import Segment, SelectedArea
        
        area = SelectedArea((1, 2), (4,4))
        segment = Segment((2, 1.5), (4.5, 3.5))
        
        if area.contains(segment):
            print('Segment was selected.')
        else:
            print('Segment wasn\'t selected.')
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
