Skip to main content

Selected Area

Build Status PyPI version PyPI - Python Version

nice image

Calculates if plot/segment intersects the selected area.

Installation

pip install selected-area

Usage

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.')

Metadata

Release files for selected-area 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for selected-area 0.2.0
File Size Uploaded
selected-area-0.2.0.tar.gz 3.0 kB Details

Release files / selected-area-0.2.0.tar.gz

Download URL selected-area-0.2.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3698da489faff71101aec15a64631adf40247d097df404e84e69fde0563a1a4c
BLAKE2b-256 checksum
How to use checksums
e6296b4d44c492b3beb1d3b808a9aa5ce4592ab98ae910badf7bc473f225e0ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.8.0 tqdm/4.40.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page