Crandore Hub

ptinpoly

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

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.

Versions across snapshots

VersionRepositoryFileSize
2.8 rolling linux/jammy R-4.5 ptinpoly_2.8.tar.gz 95.0 KiB
2.8 rolling linux/noble R-4.5 ptinpoly_2.8.tar.gz 95.1 KiB
2.8 rolling source/ R- ptinpoly_2.8.tar.gz 55.5 KiB
2.8 latest linux/jammy R-4.5 ptinpoly_2.8.tar.gz 95.0 KiB
2.8 latest linux/noble R-4.5 ptinpoly_2.8.tar.gz 95.1 KiB
2.8 latest source/ R- ptinpoly_2.8.tar.gz 55.5 KiB
2.8 2026-04-26 source/ R- ptinpoly_2.8.tar.gz 55.5 KiB
2.8 2026-04-23 source/ R- ptinpoly_2.8.tar.gz 55.5 KiB
2.8 2026-04-09 windows/windows R-4.5 ptinpoly_2.8.zip 162.2 KiB
2.8 2025-04-20 source/ R- ptinpoly_2.8.tar.gz 55.5 KiB

Dependencies (latest)

Depends

Suggests