Package Exports
- @thi.ng/geom
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@thi.ng/geom) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@thi.ng/geom
This project is part of the @thi.ng/umbrella monorepo.
About
WIP (currently 2D only) geometry types & polymorphic operations, built on @thi.ng/defmulti.
Up-to-date feature matrix spreadsheet
This package acts as a higher-level frontend for most of the following related packages (which are more lightweight and usuable by themselves too):
- @thi.ng/geom-api - shared types & interfaces
- @thi.ng/geom-accel - spatial indexing data structures
- @thi.ng/geom-arc - elliptic arc utils
- @thi.ng/geom-clip - Sutherland-Hodgeman / Liang-Barsky clipping
- @thi.ng/geom-closest-point - line-point proximity queries
- @thi.ng/geom-hull - convex hull functions
- @thi.ng/geom-isec - shape intersection tests
- @thi.ng/geom-isoline - 2D contour line extraction
- @thi.ng/geom-poly-utils - 2D polygon helpers
- @thi.ng/geom-resample - nD polyline resampling
- @thi.ng/geom-splines - nD cubic / quadratic spline utils
- @thi.ng/geom-subdiv-curve - nD subdivision curve utils
- @thi.ng/geom-tessellate - nD convex polygon tessellators
- @thi.ng/geom-voronoi - 2D incremental Delaunay/Voronoi mesh
Installation
yarn add @thi.ng/geom
Dependencies
- @thi.ng/api
- @thi.ng/checks
- @thi.ng/compose
- @thi.ng/defmulti
- @thi.ng/equiv
- @thi.ng/errors
- @thi.ng/hiccup
- @thi.ng/hiccup-svg
- @thi.ng/math
- @thi.ng/matrices
- @thi.ng/random
- @thi.ng/transducers
- @thi.ng/vectors
Usage examples
import * as g from "@thi.ng/geom";
Authors
- Karsten Schmidt
License
© 2018 Karsten Schmidt // Apache Software License 2.0