All Projects → baddstats → polyclip

baddstats / polyclip

Licence: other
R package polyclip: a port of the Clipper library for polygon geometry

Programming Languages

C++
36643 projects - #6 most used programming language
r
7636 projects
M4
1887 projects

Projects that are alternatives of or similar to polyclip

martinez-src
Mirrored implementations of polygon clipping/CSG/operations algorithm, in C (original, by Martínez et al) and ActionScript3 (port, by Mahir Iqbal)
Stars: ✭ 34 (+88.89%)
Mutual labels:  polygon-intersection, polygon-clipping-algorithm
tektosyne
The Tektosyne Library for Java provides algorithms for computational geometry and graph-based pathfinding, along with supporting mathematical utilities and specialized collections.
Stars: ✭ 52 (+188.89%)
Mutual labels:  polygon-intersection, computational-geometry
clipper
Implementation for the clipper library in rhino and grasshopper.
Stars: ✭ 55 (+205.56%)
Mutual labels:  clipper, polygons
hts
Hierarchical and Grouped Time Series
Stars: ✭ 101 (+461.11%)
Mutual labels:  cran
TDAstats
R pipeline for computing persistent homology in topological data analysis. See https://doi.org/10.21105/joss.00860 for more details.
Stars: ✭ 26 (+44.44%)
Mutual labels:  cran
csvy
Import and Export CSV Data With a YAML Metadata Header
Stars: ✭ 52 (+188.89%)
Mutual labels:  cran
rprotobuf
R Interface to Protocol Buffers
Stars: ✭ 62 (+244.44%)
Mutual labels:  cran
home
Community for parametric furniture designs.
Stars: ✭ 44 (+144.44%)
Mutual labels:  computational-geometry
MidcurveNN
Computation of Midcurve of Thin Polygons using Neural Networks
Stars: ✭ 19 (+5.56%)
Mutual labels:  computational-geometry
genderBR
Predict gender from Brazilian first names
Stars: ✭ 50 (+177.78%)
Mutual labels:  cran
inline
Inline C, C++ or Fortran functions in R
Stars: ✭ 33 (+83.33%)
Mutual labels:  cran
bsam
Bayesian State-space models for Animal Movement
Stars: ✭ 13 (-27.78%)
Mutual labels:  cran
worldfootballR
A wrapper for extracting world football (soccer) data from FBref, Transfermark, Understat and fotmob
Stars: ✭ 188 (+944.44%)
Mutual labels:  cran
BAS
BAS R package https://merliseclyde.github.io/BAS/
Stars: ✭ 36 (+100%)
Mutual labels:  cran
polytope
Geometric operations on polytopes of any dimension
Stars: ✭ 51 (+183.33%)
Mutual labels:  computational-geometry
R.oo
R package: R.oo - R Object-Oriented Programming with or without References
Stars: ✭ 19 (+5.56%)
Mutual labels:  cran
SimInf
A framework for data-driven stochastic disease spread simulations
Stars: ✭ 21 (+16.67%)
Mutual labels:  cran
chess22k
Chessengine written in Java
Stars: ✭ 26 (+44.44%)
Mutual labels:  64-bit
MAVIS
MAVIS: Meta Analysis via Shiny
Stars: ✭ 32 (+77.78%)
Mutual labels:  cran
leaflet-examples
🍁 A collection of examples of leaflet map usage
Stars: ✭ 90 (+400%)
Mutual labels:  polygons

polyclip

Travis-CI Build Status codecov.io CRAN_Status_Badge Research software impact

This repository holds the contributed R-package polyclip, which is an R port of Angus Johnson's library Clipper for polygon clipping.

Version of Clipper Library

This version of polyclip is derived from Clipper C++ library version 6.4.0 [r496] which was obtained from the Sourceforge repository (click Code then Download snapshot). Minor changes have been made to the C++ code to satisfy the requirements for R packages (namely, data type declarations must be portable, and error messages must go through R's error handler).

Note: If your system already includes the polyclipping library (another derivative of clipper) then that version of the library will be used. That is, the R package polyclip will be compiled against the executable library polyclipping on your system, rather than using the bundled source code of clipper 6.4.0 that comes with the polyclip sources.

Installation

The current official release of polyclip is available on CRAN and can be downloaded and installed automatically using the R command install.packages.

The code in this repository is the development version, which may be newer than the official release. The easiest way to install the development version of polyclip from github is through the remotes package:

require(remotes)
install_github('baddstats/polyclip')

If you don't have remotes installed you should first run

install.packages('remotes')

Bug reports

Users of polyclip are encouraged to report bugs here (go to issues in the menu above, and press new issue to start a new bug report or feature request).

Making your own changes

Feel free to fork polyclip, make changes to the code, and ask us to include them in the package by making a github pull request.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].