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
Metadata
Release files for pfc-geometry 0.2.24
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pfc_geometry-0.2.24.tar.gz | 47.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pfc_geometry-0.2.24-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.6 kB
Release files / pfc_geometry-0.2.24.tar.gz
| Download URL | pfc_geometry-0.2.24.tar.gz |
|---|---|
| Size | 47.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3df03d085346526f9191665a5fcef48c4bd19ed76f80c78beb3bb42e307c9768
|
|
BLAKE2b-256 checksum How to use checksums |
6d8ebdafec970066fb24ab3d86dd0b7a982d533331b8f4607ceca21b5f9b6df5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}
|
Release files / pfc_geometry-0.2.24-py3-none-any.whl
| Download URL | pfc_geometry-0.2.24-py3-none-any.whl |
|---|---|
| Size | 31.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8af06efd3464a176682cdf75236c6add7510093b3d7adca5e6b27f631c1dce87
|
|
BLAKE2b-256 checksum How to use checksums |
4b41593593f5067665b38d287f2919ac74fbb88eea807c5875292022e8e2790a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}
|