Point-in-Polyhedron Test (2D and 3D)
Overview
Function pip3d() tests whether a point in 3D space is within, exactly on, or outside an enclosed surface defined by a triangular mesh. Function pip2d() tests whether a point in 2D space is within, exactly on, or outside a polygon. For a reference, see: Liu et al., A new point containment test algorithm based on preprocessing and determining triangles, Computer-Aided Design 42(12):1143-1150.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Jose M. Maisog <bravas02@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = c("Jose", "M."),
family = "Maisog",
role = c("aut", "cre"),
email = "bravas02@gmail.com"),
person(given = "Yuan",
family = "Wang",
role = "aut"),
person(given = "George",
family = "Luta",
role = "aut"),
person(given = "Jianfei",
family = "Liu",
role = "aut"))
as necessary.NOTEcompiled coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
File ‘ptinpoly/libs/ptinpoly.so’: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’ It is good practice to register native routines and to disable symbol search. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
- NOTE9 OK, 4 NOTENow
- NOTE10 OK, 4 NOTE2026-03-10
Documentation
- Help pages
- 8
- Examples that run
- 100%8 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 25%
Downloads
Dependencies
Installing ptinpoly adds 1 package (0 with compiled code, 66 KB of source tarballs). Heaviest: misc3d 66 KB.
Code & Tests
Datasets
People & History
Maintainer since 1.4 (2010)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 2.8Latest
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 2.42014-08-27 · diff ↗
- 2.12014-04-30 · diff ↗
- RR 3.1.0 released · 2014-04-10
Show 9 earlier eventsHide 9 earlier events
- RR 3.0.0 released · 2013-04-03
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- 2.0
- RR 2.13.0 released · 2011-04-13
- 1.92010-11-03 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 1.42010-06-15
- RR 2.11.0 released · 2010-04-22
Package metadata
- First published
- 2010-06-15
- Total releases
- 6 / 16 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 25 KB / 6 files
- Download size
- 56 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ptinpoly")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.