Skip to main content

A library for working with 3D geometry.

Project description

geometry

Tools for handling 3D geometry, mostly just adds a nice interface to various geometric enterties. Each geometric entity can also be a vector of geometric entities. Each entity wraps a numpy array with the relevant number of columns labelled according to the cols class property and rows equal to the number of elements in the vector. Attribute access to each column is available and returns a numpy array.

Where operations are supported between geometric types the size of the output is inferred based on the length of the inputs. Where the two vectors of entities are of the same length, elementwise operations are performed. Where one vector is length one and the other is greater than one then the operation will be performed on every element of the longer vector.

Magic methods are used extensively and the function of operators are logical for each type. If unsure what the logical option is then check the code where it should be pretty clear.

Many convenience methods and constructors are available. Documentation is limited but if you need something it has probably already been written so check the code first.

Some examples are available here: https://pfcdocumentation.readthedocs.io/pyflightcoach/geometry.html

now available on pypi:

    pip install pfc-geometry

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

pfc_geometry-0.2.22.tar.gz (39.3 kB view details)

Uploaded Source

Built Distribution

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

pfc_geometry-0.2.22-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file pfc_geometry-0.2.22.tar.gz.

File metadata

  • Download URL: pfc_geometry-0.2.22.tar.gz
  • Upload date:
  • Size: 39.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pfc_geometry-0.2.22.tar.gz
Algorithm Hash digest
SHA256 8bd44e427fa59315528473df87a4ff067468a37c77626924c04de8b80268d61b
MD5 d92c271cc937c6824ee3f54f2393f1f7
BLAKE2b-256 8dc130bde2774b2f99ffa8a3536723dc8da7129b630e2fed5e6d9c0999a540c2

See more details on using hashes here.

File details

Details for the file pfc_geometry-0.2.22-py3-none-any.whl.

File metadata

  • Download URL: pfc_geometry-0.2.22-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pfc_geometry-0.2.22-py3-none-any.whl
Algorithm Hash digest
SHA256 4a3b2040df95d0f2d78146aad9d4e439e75652ddf6fd51ca9a2fc1cdb6fcad9f
MD5 d0f6103628f252a205bb833f275345a3
BLAKE2b-256 2f9b8f9770683f6626b8fa2cb4780081cb204dbf19e999451d1c70703f1fe562

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