Skip to main content

A small library for visible 3D shapes

Project description

Shape4D

About Shape4D

Shape4D is a tiny library for computation of 3D geometry, particularly on intersection of line with polygon.

Core Features

  • Shapes: Point, Line and Polygon.

  • Creating a 3D polygon by changing its shape in definition position to its desired position.

  • When a 3D Polygon intercepts a 3D line, a point will be returned.

  • __contains__, overloaded for point in segment and polygon.

  • __hash__ and __eq__, overloaded for point, segment and polygon.

  • __neg__ overloaded for polygon.

Requirements

  • Python 3

  • Matplotlib is needed.

Documentation

To be continued.

Installation

pip install Shape4D

Usage

See Documentations

Change Log

changelog.md

License

This program is free software: you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation, either version 3 of the License, or

(at your option) any later version.



This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

GNU General Public License for more details.



You should have received a copy of the GNU General Public License

along with this program.  If not, see <http://www.gnu.org/licenses/>.

Contact

heliqun@ustc.edu.cn

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Shape4D-0.2.3.tar.gz (4.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Shape4D-0.2.3-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file Shape4D-0.2.3.tar.gz.

File metadata

  • Download URL: Shape4D-0.2.3.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.0

File hashes

Hashes for Shape4D-0.2.3.tar.gz
Algorithm Hash digest
SHA256 dcd666a821a6b069b974a56c6b5f6bb8c264f15caa67a9f9d005f50dd8aec4b5
MD5 33cf3d6fbbbb296936d442e87b14c66f
BLAKE2b-256 afc1b940eeee320d472a9e819d78d07cdafb2bf5403ba610ab85d62a4bbc6a04

See more details on using hashes here.

File details

Details for the file Shape4D-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: Shape4D-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.0

File hashes

Hashes for Shape4D-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fca6f01199fca3db5c153156f56d23564050901f0786b59db7ac205791ebf85c
MD5 80af51c9c52d2a508045d76d196b4182
BLAKE2b-256 e97b1ec126f6cb8fef7f7f2faf5656594da0f04552c85a8277fd5e50f888685a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page