BSD Ports

science/py-geometer 0.4.2_3 FreeBSD

Python geometry package based on projective geometry and numpy

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
science, python
Package size
121.6 KiB, 734.8 KiB installed

Description

Geometer is a geometry library for Python 3 that uses projective geometry and numpy for fast geometric computation. In projective geometry every point in 2D is represented by a three-dimensional vector and every point in 3D is represented by a four-dimensional vector. This has the following advantages:

There are points at infinity that can be treated just like normal points.

  • Projective transformations are described by matrices but they can also represent affine transformations i.e. also translations.
  • Every two lines have a unique point of intersection if they lie in the same plane. Parallel lines have a point of intersection at infinity.
  • Points of intersection, planes or lines through given points can be calculated using simple cross products or tensor diagrams.
  • Special complex points at infinity and cross ratios can be used to calculate angles and to construct perpendicular geometric structures.
  • Most of the computation in the library done via tensor diagrams (using numpy.einsum).

In the other systems

SystemPortVersion
FreeBSDscience/py-geometer0.4.2_3
DragonFlyscience/py-geometer0.3.5_2

Install

Binary package:

pkg install py312-geometer

From the ports tree:

cd /usr/ports/science/py-geometer/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-geometer>0:science/py-geometer

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.4.2_30.4.2_3-0.4.10.4.2_3
FreeBSD:14:quarterly0.4.2_30.4.2_3n/a0.4.10.4.2_3
FreeBSD:15:latest0.4.2_30.4.2_3n/a0.4.10.4.1
FreeBSD:15:quarterly0.4.2_30.4.2_3n/an/an/a
FreeBSD:16:latest0.4.2_30.4.2_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 17

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
geometer-0.4.2.tar.gz461420df63113a74d7a8c97886d9788299947215fed5badd01acf2da08db85487193a
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.