moonlight-triangulation: Delaunay meshes and exact planar-region algebra.
Delaunay and constrained Delaunay triangulation as a lawful finite-set algebra, together with exact rational planar regions, labelled common refinement, intrinsic valuations, and polygonal Minkowski morphology. A mesh is a value of its site set, so union, intersection and difference return triangulations and refinement composes after them rather than replacing them. One structure-of-arrays half-edge mesh carries the constrained and unconstrained layers. Private finite-DCEL and construction kernels own trusted representations and admitted fast paths. Public dcel and build sublibraries expose their lawful immutable observations, typed queries, construction, incremental edits, constraint recovery, and refinement without duplicating those owners. Further opt-in sublibraries expose the exact scalar core, Voronoi and natural-neighbour dual, bounded concurrent join interpreter, and versioned serialization surface beside the broad main facade. On GHC 9.14, a public cell-complex component interprets admitted exact cell selections for Homology and Category and lowers exact Delaunay alpha filtrations into persistent homology; an opt-in zigzag component tracks exact topology across independently sampled, non-nested labelled depths. Failure is values: every refusal names its witness.
[Skip to Readme]
library moonlight-triangulation
Modules
[Index]
- Moonlight
- Moonlight.Triangulation
- Moonlight.Triangulation.Alpha
- Moonlight.Triangulation.BulkLoad
- Moonlight.Triangulation.Canonical
- Moonlight.Triangulation.Cdt
- Moonlight.Triangulation.CellSet
- Moonlight.Triangulation.Dcel
- Moonlight.Triangulation.Embedding
- Moonlight.Triangulation.Exact
- Moonlight.Triangulation.FloodFillIterator
- Handles
- Moonlight.Triangulation.HintGenerator
- Moonlight.Triangulation.Interop
- Moonlight.Triangulation.Interpolation
- Moonlight.Triangulation.IntersectionIterator
- Moonlight.Triangulation.JoinSemilattice
- Moonlight.Triangulation.Math
- Moonlight.Triangulation.Minkowski
- Moonlight.Triangulation.Overlay
- Moonlight.Triangulation.Payload
- Moonlight.Triangulation.PointLocation
- Moonlight.Triangulation.PowerDiagram
- Moonlight.Triangulation.Refinement
- Moonlight.Triangulation.Region
- Moonlight.Triangulation.RegularAlpha
- Moonlight.Triangulation.Removal
- Moonlight.Triangulation.Session
- Moonlight.Triangulation.SetAlgebra
- Moonlight.Triangulation.Types
- Moonlight.Triangulation.Validation
- Moonlight.Triangulation.Valuation
- Moonlight.Triangulation.Voronoi
- Moonlight.Triangulation
library moonlight-triangulation:dual
Modules
[Index]
library moonlight-triangulation:serialize
library moonlight-triangulation:parallel
library moonlight-triangulation:build
Modules
[Index]
library moonlight-triangulation:zigzag
library moonlight-triangulation:cell-complex
library moonlight-triangulation:dcel
Modules
[Index]
- Moonlight
- Triangulation
- Moonlight.Triangulation.Alpha
- Moonlight.Triangulation.Canonical
- Moonlight.Triangulation.CellSet
- Moonlight.Triangulation.Dcel
- Moonlight.Triangulation.Exact
- Moonlight.Triangulation.FloodFillIterator
- Handles
- Moonlight.Triangulation.Interop
- Moonlight.Triangulation.IntersectionIterator
- Moonlight.Triangulation.JoinSemilattice
- Moonlight.Triangulation.Math
- Moonlight.Triangulation.Payload
- Moonlight.Triangulation.PointLocation
- Moonlight.Triangulation.Region
- Moonlight.Triangulation.Simplex
- Moonlight.Triangulation.Types
- Moonlight.Triangulation.Validation
- Moonlight.Triangulation.Valuation
- Triangulation
library moonlight-triangulation:core
Modules
[Index]
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| warnings-as-errors | Treat compiler warnings as errors in package validation. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- moonlight-triangulation-1.5.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0.0, 1.0.0.0, 1.0.1.0, 1.2.0.0, 1.2.0.1, 1.3.0.0, 1.3.0.2, 1.3.0.3, 1.4.0.1, 1.4.0.2, 1.4.0.3, 1.4.0.4, 1.4.0.5, 1.5.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson (>=2.2 && <2.4), async (>=2.2 && <2.3), base (>=4.22 && <5), binary (>=0.8 && <0.9), bytestring (>=0.12 && <0.13), containers (>=0.8 && <0.9), deepseq (>=1.5 && <1.6), directory (>=1.3 && <1.4), filepath (>=1.4 && <1.6), moonlight-algebra (>=0.1 && <0.2), moonlight-category (>=1.1.0.0 && <1.2), moonlight-core (>=0.1 && <0.2), moonlight-homology (>=0.1.0.3 && <0.2), moonlight-triangulation (>=1.5 && <1.6), primitive (>=0.9 && <0.10), process (>=1.6 && <1.7), tasty-bench (>=0.3 && <0.6), text (>=2.0 && <2.2), transformers (>=0.6 && <0.7), unix (>=2.8 && <2.9), vector (>=0.13 && <0.14), vector-algorithms (>=0.9 && <0.10) [details] |
| Tested with | ghc ==9.8.4, ghc ==9.10.3, ghc ==9.12.4, ghc ==9.14.1 |
| License | MIT |
| Copyright | (c) 2026 Blue Rose |
| Author | Blue Rose |
| Maintainer | rosaliafialkova@gmail.com |
| Uploaded | by bluerose at 2026-08-31T04:55:19Z |
| Category | Geometry, Math |
| Home page | https://github.com/PaleRoses/moonlight |
| Bug tracker | https://github.com/PaleRoses/moonlight/issues |
| Source repo | head: git clone https://github.com/PaleRoses/moonlight.git(moonlight-triangulation) this: git clone https://github.com/PaleRoses/moonlight.git(tag moonlight-triangulation-1.5.0.0)(moonlight-triangulation) |
| Distributions | |
| Executables | moonlight-triangulation-alpha-spade-referent, moonlight-triangulation-spade-referent, moonlight-triangulation-persistence-rose, moonlight-triangulation-category-observatory-export, moonlight-triangulation-delaunay-pictures, moonlight-triangulation-delaunay-compare, moonlight-triangulation-ffi-contract |
| Downloads | 47 total (47 in the last 30 days) |
| Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |
