Skip to content

ptinpoly

Point-in-Polyhedron Test (2D and 3D)

v2.8 · Jun 2, 2020 · GPL-2

Description

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.

Downloads

304

Last 30 days

13210th

830

Last 90 days

5.3K

Last year

Trend: +12.6% (30d vs prior 30d)

CRAN Check Status

4 NOTE
10 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (4 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

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.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

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.
NOTE r-devel-linux-x86_64-fedora-clang

compiled code

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.
NOTE r-devel-linux-x86_64-fedora-gcc

compiled code

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.

Check History

NOTE 10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

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"),
    
...[truncated]...
t"),
               person(given = "George",
                      family = "Luta",
                      role = "aut"),
               person(given = "Jianfei",
                      family = "Liu",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

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"),
    
...[truncated]...
t"),
               person(given = "George",
                      family = "Luta",
                      role = "aut"),
               person(given = "Jianfei",
                      family = "Liu",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-fedora-clang

compiled code

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.
NOTE r-devel-linux-x86_64-fedora-gcc

compiled code

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.

Reverse Dependencies (5)

depends

Dependency Network

Dependencies Reverse dependencies misc3d RadOnc BoneDensityMapping FEA curvHDR ucie ptinpoly

Version History

new 2.8 Mar 10, 2026
updated 2.8 ← 2.4 diff Jun 1, 2020
updated 2.4 ← 2.1 diff Aug 26, 2014
updated 2.1 ← 2.0 diff Apr 29, 2014
updated 2.0 ← 1.9 diff Oct 25, 2011
updated 1.9 ← 1.4 diff Nov 2, 2010
new 1.4 Jun 14, 2010