math/lib2geom 1.4 MidnightBSD
Easy to use 2D geometry library in C++
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
04c527804d- License
- lgpl2.1, MPL11
- Categories
- math, gnome
Description
2geom is a C++ library of mathematics for paths, curves, and other geometric calculations. Designed for vector graphics, it tackles Bézier curves, conic sections, paths, intersections, transformations, and basic geometries.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | math/lib2geom | 1.4 |
| FreeBSD | math/lib2geom | 1.4_6 |
| OpenBSD | geo/lib2geom | 1.4 |
| DragonFly | math/lib2geom | 1.3_1 |
Install
Binary package:
mport install lib2geom
From mports:
cd /usr/mports/math/lib2geom && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= lib2geom>0:math/lib2geom
LIB_DEPENDS= lib2geom.so:math/lib2geom
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}cairo>0: graphics/py-cairoragel: devel/ragelgoogletest>0: devel/googletest
Library 3
libdouble-conversion.so: devel/double-conversionlibgsl.so: math/gsllibboost_thread.so: devel/boost-libs
Runtime 1
${PYTHON_PKGNAMEPREFIX}cairo>0: graphics/py-cairo
Test 2
googletest>0: devel/googletestragel: devel/ragel
Build dependencies 6
Run dependencies 4
Required by 1
Configuration
Options name: math_lib2geom
| Option | Default | Description |
|---|---|---|
| GPL | off | Build with GPL-licensed code |
- USES
- compiler:c++20-lang cmake:testing gettext-runtime gnome localbase:ldflags pkgconfig python
- Service scripts
- none
Files
pkg-plist 97
- include/2geom-1.4.0/2geom/2geom.h
- include/2geom-1.4.0/2geom/affine.h
- include/2geom-1.4.0/2geom/angle.h
- include/2geom-1.4.0/2geom/basic-intersection.h
- include/2geom-1.4.0/2geom/bezier-curve.h
- include/2geom-1.4.0/2geom/bezier-to-sbasis.h
- include/2geom-1.4.0/2geom/bezier-utils.h
- include/2geom-1.4.0/2geom/bezier.h
- include/2geom-1.4.0/2geom/cairo-path-sink.h
- include/2geom-1.4.0/2geom/choose.h
- include/2geom-1.4.0/2geom/circle.h
- include/2geom-1.4.0/2geom/concepts.h
- include/2geom-1.4.0/2geom/conic_section_clipper.h
- include/2geom-1.4.0/2geom/conic_section_clipper_cr.h
- include/2geom-1.4.0/2geom/conic_section_clipper_impl.h
- include/2geom-1.4.0/2geom/conicsec.h
- include/2geom-1.4.0/2geom/convex-hull.h
- include/2geom-1.4.0/2geom/coord.h
- include/2geom-1.4.0/2geom/crossing.h
- include/2geom-1.4.0/2geom/curve.h
- include/2geom-1.4.0/2geom/curves.h
- include/2geom-1.4.0/2geom/d2.h
- include/2geom-1.4.0/2geom/ellipse.h
- include/2geom-1.4.0/2geom/elliptical-arc.h
- include/2geom-1.4.0/2geom/exception.h
- include/2geom-1.4.0/2geom/forward.h
- include/2geom-1.4.0/2geom/generic-interval.h
- include/2geom-1.4.0/2geom/generic-rect.h
- include/2geom-1.4.0/2geom/geom.h
- include/2geom-1.4.0/2geom/int-interval.h
- include/2geom-1.4.0/2geom/int-point.h
- include/2geom-1.4.0/2geom/int-rect.h
- include/2geom-1.4.0/2geom/intersection-graph.h
- include/2geom-1.4.0/2geom/intersection.h
- include/2geom-1.4.0/2geom/interval.h
- include/2geom-1.4.0/2geom/intervaltree/interval_tree.h
- include/2geom-1.4.0/2geom/line.h
- include/2geom-1.4.0/2geom/linear.h
- include/2geom-1.4.0/2geom/math-utils.h
- include/2geom-1.4.0/2geom/nearest-time.h
- include/2geom-1.4.0/2geom/numeric/fitting-model.h
- include/2geom-1.4.0/2geom/numeric/fitting-tool.h
- include/2geom-1.4.0/2geom/numeric/linear_system.h
- include/2geom-1.4.0/2geom/numeric/matrix.h
- include/2geom-1.4.0/2geom/numeric/symmetric-matrix-fs-operation.h
- include/2geom-1.4.0/2geom/numeric/symmetric-matrix-fs-trace.h
- include/2geom-1.4.0/2geom/numeric/symmetric-matrix-fs.h
- include/2geom-1.4.0/2geom/numeric/vector.h
- include/2geom-1.4.0/2geom/ord.h
- include/2geom-1.4.0/2geom/orphan-code/arc-length.h
- include/2geom-1.4.0/2geom/orphan-code/chebyshev.h
- include/2geom-1.4.0/2geom/orphan-code/intersection-by-smashing.h
- include/2geom-1.4.0/2geom/orphan-code/linear-of.h
- include/2geom-1.4.0/2geom/orphan-code/linearN.h
- include/2geom-1.4.0/2geom/orphan-code/redblacktree.h
- include/2geom-1.4.0/2geom/orphan-code/rtree.h
- include/2geom-1.4.0/2geom/orphan-code/sbasis-of.h
- include/2geom-1.4.0/2geom/orphan-code/sbasisN.h
- include/2geom-1.4.0/2geom/parallelogram.h
- include/2geom-1.4.0/2geom/path-intersection.h
- include/2geom-1.4.0/2geom/path-sink.h
- include/2geom-1.4.0/2geom/path.h
- include/2geom-1.4.0/2geom/pathvector.h
- include/2geom-1.4.0/2geom/piecewise.h
- include/2geom-1.4.0/2geom/point.h
- include/2geom-1.4.0/2geom/polynomial.h
- include/2geom-1.4.0/2geom/ray.h
- include/2geom-1.4.0/2geom/rect.h
- include/2geom-1.4.0/2geom/sbasis-2d.h
- include/2geom-1.4.0/2geom/sbasis-curve.h
- include/2geom-1.4.0/2geom/sbasis-geometric.h
- include/2geom-1.4.0/2geom/sbasis-math.h
- include/2geom-1.4.0/2geom/sbasis-poly.h
- include/2geom-1.4.0/2geom/sbasis-to-bezier.h
- include/2geom-1.4.0/2geom/sbasis.h
- include/2geom-1.4.0/2geom/solver.h
- include/2geom-1.4.0/2geom/svg-path-parser.h
- include/2geom-1.4.0/2geom/svg-path-writer.h
- include/2geom-1.4.0/2geom/sweep-bounds.h
- include/2geom-1.4.0/2geom/sweeper.h
- include/2geom-1.4.0/2geom/symbolic/determinant-minor.h
- include/2geom-1.4.0/2geom/symbolic/implicit.h
- include/2geom-1.4.0/2geom/symbolic/matrix.h
- include/2geom-1.4.0/2geom/symbolic/multi-index.h
- include/2geom-1.4.0/2geom/symbolic/multipoly.h
- include/2geom-1.4.0/2geom/symbolic/mvpoly-tools.h
- include/2geom-1.4.0/2geom/symbolic/polynomial.h
- include/2geom-1.4.0/2geom/symbolic/unity-builder.h
- include/2geom-1.4.0/2geom/transforms.h
- include/2geom-1.4.0/2geom/utils.h
- lib/cmake/2Geom/2GeomConfig.cmake
- lib/cmake/2Geom/2GeomConfigVersion.cmake
- lib/cmake/2Geom/2GeomTargets-.cmake
- lib/cmake/2Geom/2GeomTargets.cmake
- lib/lib2geom.so
- lib/lib2geom.so.1.4.0
- libdata/pkgconfig/2geom.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lib2geom-1.4.tar.bz2 | 1.287532e+06 | 717a87ce7f2192271a789c1273ae7b432856c522647b9fe33bb4dd662942b3ea |