summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2020-08-01 02:03:53 +0000
committerbrook <brook@pkgsrc.org>2020-08-01 02:03:53 +0000
commit2b8be76e026b7c9c6be9f4f9bda9de87703a3cc3 (patch)
tree0326cf6e91cce46c8d7baf5ca71d979d03dc7e07 /graphics
parent1d1df5feafa63be7e317eebd0e43b6684a57baf0 (diff)
downloadpkgsrc-2b8be76e026b7c9c6be9f4f9bda9de87703a3cc3.tar.gz
graphics/R-polyclip: import R-polyclip-1.10.0
R port of Angus Johnson's open source library Clipper. Performs polygon clipping operations (intersection, union, set minus, set difference) for polygonal regions of arbitrary complexity, including holes. Computes offset polygons (spatial buffer zones, morphological dilations, Minkowski dilations) for polygonal regions and polygonal lines. Computes Minkowski Sum of general polygons. There is a function for removing self-intersections from polygon data.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/R-polyclip/DESCR7
-rw-r--r--graphics/R-polyclip/Makefile17
-rw-r--r--graphics/R-polyclip/distinfo6
3 files changed, 30 insertions, 0 deletions
diff --git a/graphics/R-polyclip/DESCR b/graphics/R-polyclip/DESCR
new file mode 100644
index 00000000000..d6651689509
--- /dev/null
+++ b/graphics/R-polyclip/DESCR
@@ -0,0 +1,7 @@
+R port of Angus Johnson's open source library Clipper. Performs
+polygon clipping operations (intersection, union, set minus, set
+difference) for polygonal regions of arbitrary complexity, including
+holes. Computes offset polygons (spatial buffer zones, morphological
+dilations, Minkowski dilations) for polygonal regions and polygonal
+lines. Computes Minkowski Sum of general polygons. There is a function
+for removing self-intersections from polygon data.
diff --git a/graphics/R-polyclip/Makefile b/graphics/R-polyclip/Makefile
new file mode 100644
index 00000000000..ed8b0c93b04
--- /dev/null
+++ b/graphics/R-polyclip/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2020/08/01 02:03:53 brook Exp $
+
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= ${R_HOMEPAGE_BASE}/polyclip/
+COMMENT= Polygon Clipping
+LICENSE= boost-license
+
+R_PKGNAME= polyclip
+R_PKGVER= 1.10-0
+
+USE_LANGUAGES+= c c++
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/R-polyclip/distinfo b/graphics/R-polyclip/distinfo
new file mode 100644
index 00000000000..80746f73618
--- /dev/null
+++ b/graphics/R-polyclip/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/08/01 02:03:53 brook Exp $
+
+SHA1 (R/polyclip_1.10-0.tar.gz) = b87d61ecd6887755f07e1428625e490392a7773e
+RMD160 (R/polyclip_1.10-0.tar.gz) = 4fde6c4845dc95708529699814ff7a1833bc3cc2
+SHA512 (R/polyclip_1.10-0.tar.gz) = 53a1ab0eca17178da415bc9a40b661ab2d5d3341de92a72b02c848ca636a7abc29b66ed9e78c929ec76685a698ef1b83524aaf90d83d4b41b4a1ed2c3e083d03
+Size (R/polyclip_1.10-0.tar.gz) = 79619 bytes