Package: cdtr 0.2.0

Michael Sumner

cdtr: Constrained Delaunay Triangulation with Refinement

Binding to the 'CDT' header-only C++ library: constrained and conforming Delaunay triangulation, Ruppert refinement by area or minimum angle (Ruppert (1995) <doi:10.1006/jagm.1995.1021>), resolution of crossing constraints, and topological region depth per triangle. Also returns the provenance of each vertex and the input segments behind each constraint edge, so that the coverage of overlapping polygons and lines can be found from the mesh. The input and output follow the planar straight line graph form used by 'RTriangle'.

Authors:Michael Sumner [aut, cre], Leica Geosystems Technology AB [cph], CDT Contributors [ctb, cph], William C. Lenthe [ctb, cph]

cdtr_0.2.0.tar.gz
cdtr_0.2.0.zip(r-4.7-x86_64)cdtr_0.2.0.zip(r-4.7-arm64)cdtr_0.2.0.zip(r-4.6-x86_64)cdtr_0.2.0.zip(r-4.6-arm64)cdtr_0.2.0.zip(r-4.5-x86_64)
cdtr_0.2.0.tgz(r-4.6-x86_64)cdtr_0.2.0.tgz(r-4.6-arm64)cdtr_0.2.0.tgz(r-4.5-x86_64)cdtr_0.2.0.tgz(r-4.5-arm64)
cdtr_0.2.0.tar.gz(r-4.7-arm64)cdtr_0.2.0.tar.gz(r-4.7-x86_64)cdtr_0.2.0.tar.gz(r-4.6-arm64)cdtr_0.2.0.tar.gz(r-4.6-x86_64)
cdtr_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
cdtr/json (API)

# Install 'cdtr' in R:
install.packages('cdtr', repos = c('https://hypertidy.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hypertidy/cdtr/issues

Pkgdown/docs site:https://hypertidy.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

5.52 score 1 stars 1 packages 11 scripts 664 downloads 9 exports 1 dependencies

Last updated from:af5dd44f23. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK202
linux-devel-x86_64OK152
source / vignettesOK216
linux-release-arm64OK157
linux-release-x86_64OK170
macos-release-arm64OK186
macos-release-x86_64OK235
macos-oldrel-arm64OK147
macos-oldrel-x86_64OK318
windows-devel-arm64OK235
windows-devel-x86_64OK153
windows-release-arm64OK283
windows-release-x86_64OK158
windows-oldrel-x86_64OK126
wasm-releaseOK107

Exports:cdt_edgescdt_interpolatecdt_locatecdt_pslgcdt_qualitycdt_triangulatecdt_triangulate_attrcdt_windingdefault_min_edge_length

Dependencies:cpp11

A terrain surface from contour lines
The data | Contours as a PSLG | How good is the surface? | Quality | Does quality show in the surface?

Last update: 2026-11-16
Started: 2026-11-16

Overlapping inputs and edge_sources
Four overlapping inputs | One triangulation for all of them | Coverage by walking the mesh | Checking it | What depth cannot say | Pieces by the set of covering features | Notes

Last update: 2026-11-16
Started: 2026-11-16

Getting started with cdtr
Input and output | Depth: where a triangle sits | Refinement | Crossing constraints | Which input made each edge | Locating and interpolating

Last update: 2026-11-16
Started: 2026-11-16

Polygons, triangle pools and wkpool
From polygons to a PSLG | A triangle pool from cdtr | Questions on the mesh | Overlay between layers | Controlling the triangulation

Last update: 2026-11-16
Started: 2026-11-16